[clang][CodeGen] Make use of cc1 instead of clang in the tests
authorKadir Cetinkaya <kadircet@google.com>
Tue, 3 Dec 2019 11:02:12 +0000 (12:02 +0100)
committerKadir Cetinkaya <kadircet@google.com>
Tue, 3 Dec 2019 11:02:26 +0000 (12:02 +0100)
clang/test/CodeGen/arm-neon-vcadd.c

index 4b9cf34..00b4641 100644 (file)
@@ -1,4 +1,7 @@
-// RUN: %clang -target arm-arm-none-eabi -march=armv8.3-a+fp16 %s -S -emit-llvm -o - | opt -S -sroa | FileCheck %s
+// REQUIRES: arm-registered-target
+// RUN: %clang_cc1 -triple armv8.3a-arm-none-eabi -target-cpu generic \
+// RUN: -target-feature +fullfp16 -mfloat-abi soft -S -emit-llvm -o - %s | \
+// RUN: opt -S -sroa -o - | FileCheck %s
 
 #include <arm_neon.h>