[clang] 058c92f - [clang][SVE] Add aarch64-registered-target to sve vector op tests

David Truby via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 11 08:02:38 PST 2022


Author: David Truby
Date: 2022-03-11T16:01:00Z
New Revision: 058c92f2a4e865d478b29035c207ec0744229d6a

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

LOG: [clang][SVE] Add aarch64-registered-target to sve vector op tests

This fixes failing tests where aarch64 isn't available.

Added: 
    

Modified: 
    clang/test/CodeGen/aarch64-sve-vector-ops.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/aarch64-sve-vector-ops.c b/clang/test/CodeGen/aarch64-sve-vector-ops.c
index 15a05e940d981..7fb307cb497b0 100644
--- a/clang/test/CodeGen/aarch64-sve-vector-ops.c
+++ b/clang/test/CodeGen/aarch64-sve-vector-ops.c
@@ -2,6 +2,8 @@
 // RUN: -fallow-half-arguments-and-returns \
 // RUN:  -O1 -emit-llvm -o - %s 2>&1 | FileCheck %s
 
+// REQUIRES: aarch64-registered-target
+
 #include <arm_sve.h>
 
 // ADDITION


        


More information about the cfe-commits mailing list