[flang-commits] [flang] [flang]Fix tests broken on non-Aarch64 builds (PR #68306)

via flang-commits flang-commits at lists.llvm.org
Thu Oct 5 06:19:01 PDT 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-flang-fir-hlfir

<details>
<summary>Changes</summary>

No other change intended.

---
Full diff: https://github.com/llvm/llvm-project/pull/68306.diff


1 Files Affected:

- (modified) flang/test/Lower/Arm/arm-sve-vector-bits-vscale-range.f90 (+1) 


``````````diff
diff --git a/flang/test/Lower/Arm/arm-sve-vector-bits-vscale-range.f90 b/flang/test/Lower/Arm/arm-sve-vector-bits-vscale-range.f90
index 1c413477826e5b9..9e09a4119862678 100644
--- a/flang/test/Lower/Arm/arm-sve-vector-bits-vscale-range.f90
+++ b/flang/test/Lower/Arm/arm-sve-vector-bits-vscale-range.f90
@@ -1,3 +1,4 @@
+! REQUIRES: aarch64-registered-target
 ! RUN: %flang_fc1 -triple aarch64-none-linux-gnu -target-feature +sve -mvscale-min=1 -mvscale-max=1  -emit-llvm -o - %s | FileCheck %s -D#VBITS=1
 ! RUN: %flang_fc1 -triple aarch64-none-linux-gnu -target-feature +sve -mvscale-min=2 -mvscale-max=2  -emit-llvm -o - %s | FileCheck %s -D#VBITS=2
 ! RUN: %flang_fc1 -triple aarch64-none-linux-gnu -target-feature +sve -mvscale-min=4 -mvscale-max=4  -emit-llvm -o - %s | FileCheck %s -D#VBITS=4

``````````

</details>


https://github.com/llvm/llvm-project/pull/68306


More information about the flang-commits mailing list