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

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jun 6 08:29:18 PDT 2024


Author: David Tenty
Date: 2024-06-06T11:29:15-04:00
New Revision: df168427b314f057c739eaccb21f361d3628f03b

URL: https://github.com/llvm/llvm-project/commit/df168427b314f057c739eaccb21f361d3628f03b
DIFF: https://github.com/llvm/llvm-project/commit/df168427b314f057c739eaccb21f361d3628f03b.diff

LOG: [NFC][libc++][test][AIX] fix SIMD test XFAIL for clang before 19 (#94509)

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.

Added: 
    

Modified: 
    libcxx/test/std/experimental/simd/simd.class/simd_copy.pass.cpp

Removed: 
    


################################################################################
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>
 //


        


More information about the libcxx-commits mailing list