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

Henry Jiang via flang-commits flang-commits at lists.llvm.org
Mon Jan 20 13:51:09 PST 2025


https://github.com/mustartt created https://github.com/llvm/llvm-project/pull/123672

None

>From 2ccbaa154541d4ecb79b4760265df89729225010 Mon Sep 17 00:00:00 2001
From: Henry Jiang <h243jian at uwaterloo.ca>
Date: Mon, 20 Jan 2025 16:46:15 -0500
Subject: [PATCH] Update to include both powerpc64 and powerpc64le target

---
 flang/test/HLFIR/unroll-loops.fir       | 2 +-
 flang/test/Integration/unroll-loops.f90 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/flang/test/HLFIR/unroll-loops.fir b/flang/test/HLFIR/unroll-loops.fir
index d8f820263ffd0d..61a42ede2601e5 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: powerpc64{{(le)?}}-target-arch
 
 // 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..abc45d305e8b09 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: powerpc64{{(le)?}}-target-arch
 
 ! CHECK-LABEL: @unroll
 ! CHECK-SAME: (ptr nocapture writeonly %[[ARG0:.*]])



More information about the flang-commits mailing list