[Lldb-commits] [PATCH] D129783: [lldb] Skip tests using int128 on ARM

2022-07-15 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett added a comment.

Thanks! The Arm/AArch64 Linux bots were green.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129783/new/

https://reviews.llvm.org/D129783

___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits


[Lldb-commits] [PATCH] D129783: [lldb] Skip tests using int128 on ARM

2022-07-15 Thread Andy Yankovsky via Phabricator via lldb-commits
werat abandoned this revision.
werat added a comment.

I have relanded the patch with the fixed tests here -- 
https://github.com/llvm/llvm-project/commit/7d297de95117e783bbfaecbba1f72fc55de05a30


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129783/new/

https://reviews.llvm.org/D129783

___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits


[Lldb-commits] [PATCH] D129783: [lldb] Skip tests using int128 on ARM

2022-07-15 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett added a comment.

> which disabled the test for both 32-bit and 64-bit

That one also runs fine on Linux so probably just overly cautious. I see 
`lldb/test/API/commands/expression/rdar44436068/Test128BitsInteger.py` as well, 
that only disables Arm.

Once your changes have passed the bots I'll enable the test in 
`TestBuiltinFormats.py` for AArch64 and see what happens.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129783/new/

https://reviews.llvm.org/D129783

___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits


[Lldb-commits] [PATCH] D129783: [lldb] Skip tests using int128 on ARM

2022-07-15 Thread Andy Yankovsky via Phabricator via lldb-commits
werat added a comment.

I didn't see the test failure on AArch64, so you're both probably right. I've 
searched the code for other uses of int128 and found a similar place, which 
disabled the test for both 32-bit and 64-bit -- 
https://github.com/llvm/llvm-project/blob/30c2406e270cc5dab8da813ce5c54e4bb8c40e49/lldb/test/API/functionalities/data-formatter/builtin-formats/TestBuiltinFormats.py#L25

I'll fix the patch and skip the test only for 32-bit ARM. Thank you the 
explanation!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129783/new/

https://reviews.llvm.org/D129783

___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits


[Lldb-commits] [PATCH] D129783: [lldb] Skip tests using int128 on ARM

2022-07-15 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett added a comment.

(in case you aren't familiar when we say "Arm" we mean 32 bit Arm and AArch64 
refers to 64 bit, it's not always that way but for this purpose it is)

I couldn't find a statement that AArch64 supports int128 but it will compile 
(https://godbolt.org/z/j5dqz4os4) and I ran the test locally without issue. Arm 
for sure doesn't support it.

Unless you saw a test failure on AArch64 as well I'd just disable for Arm. If 
you did please give me the link I'll see if there's some other aspect to this.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129783/new/

https://reviews.llvm.org/D129783

___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits


[Lldb-commits] [PATCH] D129783: [lldb] Skip tests using int128 on ARM

2022-07-15 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment.

I find the aarch64 part surprising, and it seems that the aarch64 bot did not 
have a problem with this patch 
(https://lab.llvm.org/buildbot/#/builders/96/builds/26089). The arm part is 
expected, and most likely applies to all 32 bit architectures (but I think we 
only have an arm bot at present).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129783/new/

https://reviews.llvm.org/D129783

___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits


[Lldb-commits] [PATCH] D129783: [lldb] Skip tests using int128 on ARM

2022-07-14 Thread Jason Molenda via Phabricator via lldb-commits
jasonmolenda added a comment.

A very minor point but API tests don't need `mydir = 
TestBase.compute_mydir(__file__)` any more thanks to 
https://reviews.llvm.org/D128077 .


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129783/new/

https://reviews.llvm.org/D129783

___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits


[Lldb-commits] [PATCH] D129783: [lldb] Skip tests using int128 on ARM

2022-07-14 Thread Andy Yankovsky via Phabricator via lldb-commits
werat created this revision.
werat added a reviewer: Michael137.
Herald added a subscriber: kristof.beyls.
Herald added a project: All.
werat requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

Follow-up fix for https://reviews.llvm.org/D81471.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129783

Files:
  
lldb/test/API/lang/cpp/const_static_integral_member_int128/TestConstStaticIntegralMemberInt128.py


Index: 
lldb/test/API/lang/cpp/const_static_integral_member_int128/TestConstStaticIntegralMemberInt128.py
===
--- 
lldb/test/API/lang/cpp/const_static_integral_member_int128/TestConstStaticIntegralMemberInt128.py
+++ 
lldb/test/API/lang/cpp/const_static_integral_member_int128/TestConstStaticIntegralMemberInt128.py
@@ -12,6 +12,8 @@
 
 mydir = TestBase.compute_mydir(__file__)
 
+# uint128_t not available on arm.
+@skipIf(archs=["arm", "aarch64"])
 def test_int128(self):
 self.build()
 lldbutil.run_to_source_breakpoint(self, "// break here",


Index: lldb/test/API/lang/cpp/const_static_integral_member_int128/TestConstStaticIntegralMemberInt128.py
===
--- lldb/test/API/lang/cpp/const_static_integral_member_int128/TestConstStaticIntegralMemberInt128.py
+++ lldb/test/API/lang/cpp/const_static_integral_member_int128/TestConstStaticIntegralMemberInt128.py
@@ -12,6 +12,8 @@
 
 mydir = TestBase.compute_mydir(__file__)
 
+# uint128_t not available on arm.
+@skipIf(archs=["arm", "aarch64"])
 def test_int128(self):
 self.build()
 lldbutil.run_to_source_breakpoint(self, "// break here",
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits