[clang] 01a26fa - [clang][CodeGen] Make use of cc1 instead of clang in the tests

Kadir Cetinkaya via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 3 03:02:45 PST 2019


Author: Kadir Cetinkaya
Date: 2019-12-03T12:02:26+01:00
New Revision: 01a26fa74a9b3ab876a7d3bf30d9aca2d5dfcc7d

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

LOG: [clang][CodeGen] Make use of cc1 instead of clang in the tests

Added: 
    

Modified: 
    clang/test/CodeGen/arm-neon-vcadd.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/arm-neon-vcadd.c b/clang/test/CodeGen/arm-neon-vcadd.c
index 4b9cf34c486c..00b4641b5a08 100644
--- a/clang/test/CodeGen/arm-neon-vcadd.c
+++ b/clang/test/CodeGen/arm-neon-vcadd.c
@@ -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>
 


        


More information about the cfe-commits mailing list