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

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


https://github.com/daltenty created https://github.com/llvm/llvm-project/pull/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.

>From a7f35f9efd4cf85ae9a5c8e0ab2cae1feab71968 Mon Sep 17 00:00:00 2001
From: David Tenty <daltenty at ibm.com>
Date: Wed, 5 Jun 2024 13:08:33 -0400
Subject: [PATCH] [NFC][libcxx][AIX] fix SIMD test XFAIL for clang before 19

---
 .../test/std/experimental/simd/simd.class/simd_copy.pass.cpp  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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