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

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


Author: Mats Petersson
Date: 2023-10-05T14:46:35+01:00
New Revision: ca611affd3e5dfe00e6ebe0488994bf93c2d135c

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

LOG: [flang]Fix tests broken on non-Aarch64 builds (#68306)

No other change intended.

Added: 
    

Modified: 
    flang/test/Lower/Arm/arm-sve-vector-bits-vscale-range.f90

Removed: 
    


################################################################################
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


        


More information about the flang-commits mailing list