[flang-commits] [flang] 7c91435 - [Flang][PPC] XFAIL `-funroll-loops` to include both powerpc64 and powerpc64le target (#123672)

via flang-commits flang-commits at lists.llvm.org
Tue Jan 21 09:28:36 PST 2025


Author: Henry Jiang
Date: 2025-01-21T12:28:33-05:00
New Revision: 7c91435a0b74d9c3eae24c85ab72936494d0ebba

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

LOG: [Flang][PPC] XFAIL `-funroll-loops` to include both powerpc64 and powerpc64le target (#123672)

Include both `powerpc64` and `powerpc64le` target to XFAIL for the 2
test cases that are currently failing on `ppc64-flang-aix` and
`ppc64le-flang-rhel-clang`. A follow-up PR to #123661.

```
FAIL: Flang::unroll-loops.fir
FAIL: Flang::unroll-loops.f90
```

Added: 
    

Modified: 
    flang/test/HLFIR/unroll-loops.fir
    flang/test/Integration/unroll-loops.f90

Removed: 
    


################################################################################
diff  --git a/flang/test/HLFIR/unroll-loops.fir b/flang/test/HLFIR/unroll-loops.fir
index d8f820263ffd0d..4494cfa570dd7b 100644
--- a/flang/test/HLFIR/unroll-loops.fir
+++ b/flang/test/HLFIR/unroll-loops.fir
@@ -4,7 +4,7 @@
 // RUN: %flang_fc1 -emit-llvm -O1 -mllvm -force-vector-width=2 -o- %s | FileCheck %s --check-prefixes=CHECK,NO-UNROLL
 
 // FIXME: https://github.com/llvm/llvm-project/issues/123668
-// XFAIL: powerpc64-target-arch
+// XFAIL: target=powerpc64{{.*}}
 
 // CHECK-LABEL: @unroll
 // CHECK-SAME: (ptr nocapture writeonly %[[ARG0:.*]])

diff  --git a/flang/test/Integration/unroll-loops.f90 b/flang/test/Integration/unroll-loops.f90
index 4a356c1ec5e9af..4b4a3945028814 100644
--- a/flang/test/Integration/unroll-loops.f90
+++ b/flang/test/Integration/unroll-loops.f90
@@ -4,7 +4,7 @@
 ! RUN: %flang_fc1 -emit-llvm -O1 -mllvm -force-vector-width=2 -o- %s | FileCheck %s --check-prefixes=CHECK,NO-UNROLL
 
 ! FIXME: https://github.com/llvm/llvm-project/issues/123668
-! XFAIL: powerpc64-target-arch
+! XFAIL: target=powerpc64{{.*}}
 
 ! CHECK-LABEL: @unroll
 ! CHECK-SAME: (ptr nocapture writeonly %[[ARG0:.*]])


        


More information about the flang-commits mailing list