[libcxx-commits] [libcxx] [NFC][libcxx][AIX] fix SIMD test XFAIL for clang before 19 (PR #94509)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 5 10:45:42 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: David Tenty (daltenty)

<details>
<summary>Changes</summary>

058e4454 added an XFAIL for this test on AIX because of a backend limitation. That backend limitation
has been resolved by 0295c2ad and will be available for clang 19, so we should update the test to
limit the XFAIL to clang versions before that.

---
Full diff: https://github.com/llvm/llvm-project/pull/94509.diff


1 Files Affected:

- (modified) libcxx/test/std/experimental/simd/simd.class/simd_copy.pass.cpp (+2-2) 


``````````diff
diff --git a/libcxx/test/std/experimental/simd/simd.class/simd_copy.pass.cpp b/libcxx/test/std/experimental/simd/simd.class/simd_copy.pass.cpp
index 8fcc811f6df3e..7d91ca0eada1d 100644
--- a/libcxx/test/std/experimental/simd/simd.class/simd_copy.pass.cpp
+++ b/libcxx/test/std/experimental/simd/simd.class/simd_copy.pass.cpp
@@ -8,9 +8,9 @@
 
 // UNSUPPORTED: c++03, c++11, c++14
 
-// FIXME: Fatal error with following targets (remove XFAIL when fixed):
+// Older versions of clang may encounter a backend error (see 0295c2ad):
 //   Pass-by-value arguments with alignment greater than register width are not supported.
-// XFAIL: target=powerpc{{.*}}-ibm-aix7.2.5.7
+// XFAIL: target=powerpc{{.*}}-ibm-{{.*}} && (clang-17 || clang-18)
 
 // <experimental/simd>
 //

``````````

</details>


https://github.com/llvm/llvm-project/pull/94509


More information about the libcxx-commits mailing list