From 2ccbaa154541d4ecb79b4760265df89729225010 Mon Sep 17 00:00:00 2001 From: Henry Jiang Date: Mon, 20 Jan 2025 16:46:15 -0500 Subject: [PATCH 1/2] 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 d8f820263ffd0..61a42ede2601e 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 4a356c1ec5e9a..abc45d305e8b0 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:.*]]) From c38ca818b6c351d0fbf1a85813c3886c3d4d554c Mon Sep 17 00:00:00 2001 From: Henry Jiang Date: Mon, 20 Jan 2025 21:07:51 -0500 Subject: [PATCH 2/2] update xfail target parsing --- 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 61a42ede2601e..4494cfa570dd7 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{{(le)?}}-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 abc45d305e8b0..4b4a394502881 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{{(le)?}}-target-arch +! XFAIL: target=powerpc64{{.*}} ! CHECK-LABEL: @unroll ! CHECK-SAME: (ptr nocapture writeonly %[[ARG0:.*]])