[flang-commits] [flang] [flang][PPC] XFAIL unroll-loops on PPC (PR #123661)
Henry Jiang via flang-commits
flang-commits at lists.llvm.org
Mon Jan 20 10:31:52 PST 2025
https://github.com/mustartt created https://github.com/llvm/llvm-project/pull/123661
xfail the following 2 test cases that are currently failing on `ppc64-flang-aix` and `ppc64le-flang-rhel-clang` starting on https://github.com/llvm/llvm-project/pull/122906
```
FAIL: Flang::unroll-loops.fir
FAIL: Flang::unroll-loops.f90
```
>From 973bf55402d52b1998028c5f2201e02235dbc855 Mon Sep 17 00:00:00 2001
From: Henry Jiang <henry.jiang1 at ibm.com>
Date: Mon, 20 Jan 2025 13:25:13 -0500
Subject: [PATCH] [flang][PPC] XFAIl unroll-loops on PPC
---
flang/test/HLFIR/unroll-loops.fir | 3 +++
flang/test/Integration/unroll-loops.f90 | 3 +++
2 files changed, 6 insertions(+)
diff --git a/flang/test/HLFIR/unroll-loops.fir b/flang/test/HLFIR/unroll-loops.fir
index 83b30d4d72693c..edd0fcd50c0ef3 100644
--- a/flang/test/HLFIR/unroll-loops.fir
+++ b/flang/test/HLFIR/unroll-loops.fir
@@ -3,6 +3,9 @@
// RUN: %flang_fc1 -emit-llvm -O1 -fno-unroll-loops -mllvm -force-vector-width=2 -o- %s | FileCheck %s --check-prefixes=CHECK,NO-UNROLL
// RUN: %flang_fc1 -emit-llvm -O1 -mllvm -force-vector-width=2 -o- %s | FileCheck %s --check-prefixes=CHECK,NO-UNROLL
+// FIXME: Investigate and fix.
+// XFAIL: powerpc64-target-arch
+
// CHECK-LABEL: @unroll
// CHECK-SAME: (ptr nocapture writeonly %[[ARG0:.*]])
func.func @unroll(%arg0: !fir.ref<!fir.array<1000 x index>> {fir.bindc_name = "a"}) {
diff --git a/flang/test/Integration/unroll-loops.f90 b/flang/test/Integration/unroll-loops.f90
index 939c96e150690e..70d8a4a8e52345 100644
--- a/flang/test/Integration/unroll-loops.f90
+++ b/flang/test/Integration/unroll-loops.f90
@@ -3,6 +3,9 @@
! RUN: %flang_fc1 -emit-llvm -O1 -fno-unroll-loops -mllvm -force-vector-width=2 -o- %s | FileCheck %s --check-prefixes=CHECK,NO-UNROLL
! RUN: %flang_fc1 -emit-llvm -O1 -mllvm -force-vector-width=2 -o- %s | FileCheck %s --check-prefixes=CHECK,NO-UNROLL
+! FIXME: Investigate and fix.
+! XFAIL: powerpc64-target-arch
+
! CHECK-LABEL: @unroll
! CHECK-SAME: (ptr nocapture writeonly %[[ARG0:.*]])
subroutine unroll(a)
More information about the flang-commits
mailing list