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

Mats Petersson via flang-commits flang-commits at lists.llvm.org
Thu Oct 5 06:17:49 PDT 2023


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

No other change intended.

>From 6c8a66b2526d912f9bd3b85ea5e8963d7c82bb1b Mon Sep 17 00:00:00 2001
From: Mats Petersson <mats.petersson at arm.com>
Date: Thu, 5 Oct 2023 13:49:13 +0100
Subject: [PATCH] [flang]Fix tests broken on non-Aarch64 builds

No other change intended.
---
 flang/test/Lower/Arm/arm-sve-vector-bits-vscale-range.f90 | 1 +
 1 file changed, 1 insertion(+)

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