r205147 - [ARM64] Use %clang_cc1 consistently in the new arm64 codegen tests.

Chandler Carruth chandlerc at gmail.com
Sun Mar 30 06:40:58 PDT 2014


Author: chandlerc
Date: Sun Mar 30 08:40:57 2014
New Revision: 205147

URL: http://llvm.org/viewvc/llvm-project?rev=205147&view=rev
Log:
[ARM64] Use %clang_cc1 consistently in the new arm64 codegen tests.
Really, all tests outside of the Driver tree should use %clang_cc1, but
these are new and easy to fix, and many of them use buitlin headers
which don't work as well without using %clang_cc1.

Modified:
    cfe/trunk/test/CodeGen/arm64_vCMP.c
    cfe/trunk/test/CodeGen/arm64_vLdStNum_lane.c
    cfe/trunk/test/CodeGen/arm64_vMaxMin.c
    cfe/trunk/test/CodeGen/arm64_vadd.c
    cfe/trunk/test/CodeGen/arm64_vca.c
    cfe/trunk/test/CodeGen/arm64_vcopy.c
    cfe/trunk/test/CodeGen/arm64_vcreate.c
    cfe/trunk/test/CodeGen/arm64_vcvtfp.c
    cfe/trunk/test/CodeGen/arm64_vdup.c
    cfe/trunk/test/CodeGen/arm64_vdupq_n_f64.c
    cfe/trunk/test/CodeGen/arm64_vecCmpBr.c
    cfe/trunk/test/CodeGen/arm64_vext.c
    cfe/trunk/test/CodeGen/arm64_vfma.c
    cfe/trunk/test/CodeGen/arm64_vget.c
    cfe/trunk/test/CodeGen/arm64_vneg.c
    cfe/trunk/test/CodeGen/arm64_vqmov.c
    cfe/trunk/test/CodeGen/arm64_vrecps.c
    cfe/trunk/test/CodeGen/arm64_vset_lane.c
    cfe/trunk/test/CodeGen/arm64_vsli.c
    cfe/trunk/test/CodeGen/arm64_vsri.c
    cfe/trunk/test/CodeGen/arm64_vtst.c

Modified: cfe/trunk/test/CodeGen/arm64_vCMP.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm64_vCMP.c?rev=205147&r1=205146&r2=205147&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm64_vCMP.c (original)
+++ cfe/trunk/test/CodeGen/arm64_vCMP.c Sun Mar 30 08:40:57 2014
@@ -1,4 +1,4 @@
-// RUN: %clang -O1 -target arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
+// RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
 
 // Test ARM64 SIMD fused multiply add intrinsics
 

Modified: cfe/trunk/test/CodeGen/arm64_vLdStNum_lane.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm64_vLdStNum_lane.c?rev=205147&r1=205146&r2=205147&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm64_vLdStNum_lane.c (original)
+++ cfe/trunk/test/CodeGen/arm64_vLdStNum_lane.c Sun Mar 30 08:40:57 2014
@@ -1,4 +1,4 @@
-// RUN: %clang -O1 -target arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
+// RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
 // Test ARM64 SIMD load and stores of an N-element structure  intrinsics
 
 #include <arm_neon.h>

Modified: cfe/trunk/test/CodeGen/arm64_vMaxMin.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm64_vMaxMin.c?rev=205147&r1=205146&r2=205147&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm64_vMaxMin.c (original)
+++ cfe/trunk/test/CodeGen/arm64_vMaxMin.c Sun Mar 30 08:40:57 2014
@@ -1,5 +1,5 @@
-// RUN: %clang -O1 -target arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
-// RUN: %clang -O1 -target arm64-apple-ios7 -ffreestanding -S -o - %s | FileCheck -check-prefix=CHECK-CODEGEN %s
+// RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
+// RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -ffreestanding -S -o - %s | FileCheck -check-prefix=CHECK-CODEGEN %s
 // REQUIRES: arm64-registered-target
 // Test ARM64 SIMD max/min intrinsics
 

Modified: cfe/trunk/test/CodeGen/arm64_vadd.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm64_vadd.c?rev=205147&r1=205146&r2=205147&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm64_vadd.c (original)
+++ cfe/trunk/test/CodeGen/arm64_vadd.c Sun Mar 30 08:40:57 2014
@@ -1,4 +1,4 @@
-// RUN: %clang -O1 -target arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
+// RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
 // Test ARM64 SIMD add intrinsics
 
 #include <arm_neon.h>

Modified: cfe/trunk/test/CodeGen/arm64_vca.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm64_vca.c?rev=205147&r1=205146&r2=205147&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm64_vca.c (original)
+++ cfe/trunk/test/CodeGen/arm64_vca.c Sun Mar 30 08:40:57 2014
@@ -1,4 +1,4 @@
-// RUN: %clang -O1 -target arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
+// RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
 // Test ARM64 vector compare absolute intrinsics
 
 #include <arm_neon.h>

Modified: cfe/trunk/test/CodeGen/arm64_vcopy.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm64_vcopy.c?rev=205147&r1=205146&r2=205147&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm64_vcopy.c (original)
+++ cfe/trunk/test/CodeGen/arm64_vcopy.c Sun Mar 30 08:40:57 2014
@@ -1,4 +1,4 @@
-// RUN: %clang -O1 -target arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
+// RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
 
 // Test ARM64 SIMD copy vector element to vector element: vcopyq_lane*
 

Modified: cfe/trunk/test/CodeGen/arm64_vcreate.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm64_vcreate.c?rev=205147&r1=205146&r2=205147&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm64_vcreate.c (original)
+++ cfe/trunk/test/CodeGen/arm64_vcreate.c Sun Mar 30 08:40:57 2014
@@ -1,4 +1,4 @@
-// RUN: %clang -O1 -target arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
+// RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
 // Test ARM64 SIMD vcreate intrinsics
 
 /*#include <arm_neon.h>*/

Modified: cfe/trunk/test/CodeGen/arm64_vcvtfp.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm64_vcvtfp.c?rev=205147&r1=205146&r2=205147&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm64_vcvtfp.c (original)
+++ cfe/trunk/test/CodeGen/arm64_vcvtfp.c Sun Mar 30 08:40:57 2014
@@ -1,4 +1,4 @@
-// RUN: %clang -O1 -target arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
+// RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
 
 #include <arm_neon.h>
 

Modified: cfe/trunk/test/CodeGen/arm64_vdup.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm64_vdup.c?rev=205147&r1=205146&r2=205147&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm64_vdup.c (original)
+++ cfe/trunk/test/CodeGen/arm64_vdup.c Sun Mar 30 08:40:57 2014
@@ -1,4 +1,4 @@
-// RUN: %clang -target arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
+// RUN: %clang_cc1 -triple arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
 // Test ARM64 SIMD duplicate lane and n intrinsics
 
 #include <arm_neon.h>

Modified: cfe/trunk/test/CodeGen/arm64_vdupq_n_f64.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm64_vdupq_n_f64.c?rev=205147&r1=205146&r2=205147&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm64_vdupq_n_f64.c (original)
+++ cfe/trunk/test/CodeGen/arm64_vdupq_n_f64.c Sun Mar 30 08:40:57 2014
@@ -1,5 +1,5 @@
-// RUN: %clang -O3 -target arm64-apple-ios7 -ffreestanding -S -o - %s | FileCheck %s
-// RUN: %clang -O3 -target arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | \
+// RUN: %clang_cc1 -O3 -triple arm64-apple-ios7 -ffreestanding -S -o - %s | FileCheck %s
+// RUN: %clang_cc1 -O3 -triple arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | \
 // RUN:   FileCheck -check-prefix=CHECK-IR %s
 // REQUIRES: arm64-registered-target
 

Modified: cfe/trunk/test/CodeGen/arm64_vecCmpBr.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm64_vecCmpBr.c?rev=205147&r1=205146&r2=205147&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm64_vecCmpBr.c (original)
+++ cfe/trunk/test/CodeGen/arm64_vecCmpBr.c Sun Mar 30 08:40:57 2014
@@ -1,4 +1,4 @@
-// RUN: %clang -O3 -target arm64-apple-ios7 -S -ffreestanding %s -o - | FileCheck %s
+// RUN: %clang_cc1 -O3 -triple arm64-apple-ios7 -S -ffreestanding %s -o - | FileCheck %s
 // REQUIRES: arm64-registered-target
 // test code generation for <rdar://problem/11487757>
 #include <arm_neon.h>

Modified: cfe/trunk/test/CodeGen/arm64_vext.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm64_vext.c?rev=205147&r1=205146&r2=205147&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm64_vext.c (original)
+++ cfe/trunk/test/CodeGen/arm64_vext.c Sun Mar 30 08:40:57 2014
@@ -1,4 +1,4 @@
-// RUN: %clang -target arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
+// RUN: %clang_cc1 -triple arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
 
 // Test ARM64 extract intrinsics
 // can use as back end test by adding a run line with

Modified: cfe/trunk/test/CodeGen/arm64_vfma.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm64_vfma.c?rev=205147&r1=205146&r2=205147&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm64_vfma.c (original)
+++ cfe/trunk/test/CodeGen/arm64_vfma.c Sun Mar 30 08:40:57 2014
@@ -1,4 +1,4 @@
-// RUN: %clang -O1 -target arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
+// RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
 // Test ARM64 SIMD fused multiply add intrinsics
 
 #include <arm_neon.h>

Modified: cfe/trunk/test/CodeGen/arm64_vget.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm64_vget.c?rev=205147&r1=205146&r2=205147&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm64_vget.c (original)
+++ cfe/trunk/test/CodeGen/arm64_vget.c Sun Mar 30 08:40:57 2014
@@ -1,4 +1,4 @@
-// RUN: %clang -O1 -target arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
+// RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
 // Test ARM64 SIMD vget intrinsics
 
 #include <arm_neon.h>

Modified: cfe/trunk/test/CodeGen/arm64_vneg.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm64_vneg.c?rev=205147&r1=205146&r2=205147&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm64_vneg.c (original)
+++ cfe/trunk/test/CodeGen/arm64_vneg.c Sun Mar 30 08:40:57 2014
@@ -1,4 +1,4 @@
-// RUN: %clang -O1 -target arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
+// RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
 // Test ARM64 SIMD negate and saturating negate intrinsics
 
 #include <arm_neon.h>

Modified: cfe/trunk/test/CodeGen/arm64_vqmov.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm64_vqmov.c?rev=205147&r1=205146&r2=205147&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm64_vqmov.c (original)
+++ cfe/trunk/test/CodeGen/arm64_vqmov.c Sun Mar 30 08:40:57 2014
@@ -1,4 +1,4 @@
-// RUN: %clang -O3 -target arm64-apple-ios7 -ffreestanding -S -o - %s | FileCheck %s
+// RUN: %clang_cc1 -O3 -triple arm64-apple-ios7 -ffreestanding -S -o - %s | FileCheck %s
 // REQUIRES: arm64-registered-target
 /// Test vqmov[u]n_high_<su>{16,32,64) ARM64 intrinsics
 

Modified: cfe/trunk/test/CodeGen/arm64_vrecps.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm64_vrecps.c?rev=205147&r1=205146&r2=205147&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm64_vrecps.c (original)
+++ cfe/trunk/test/CodeGen/arm64_vrecps.c Sun Mar 30 08:40:57 2014
@@ -1,4 +1,4 @@
-// RUN: %clang -O3 -target arm64-apple-ios7 -ffreestanding -c -S -o - %s | FileCheck %s
+// RUN: %clang_cc1 -O3 -triple arm64-apple-ios7 -ffreestanding -S -o - %s | FileCheck %s
 // REQUIRES: arm64-registered-target
 /// Test vrecpss_f32, vrecpsd_f64 ARM64 intrinsics
 

Modified: cfe/trunk/test/CodeGen/arm64_vset_lane.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm64_vset_lane.c?rev=205147&r1=205146&r2=205147&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm64_vset_lane.c (original)
+++ cfe/trunk/test/CodeGen/arm64_vset_lane.c Sun Mar 30 08:40:57 2014
@@ -1,4 +1,4 @@
-// RUN: %clang -O1 -target arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
+// RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
 // Test ARM64 SIMD set lane intrinsics INCOMPLETE
 
 #include <arm_neon.h>

Modified: cfe/trunk/test/CodeGen/arm64_vsli.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm64_vsli.c?rev=205147&r1=205146&r2=205147&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm64_vsli.c (original)
+++ cfe/trunk/test/CodeGen/arm64_vsli.c Sun Mar 30 08:40:57 2014
@@ -1,5 +1,5 @@
-// RUN: %clang -O1 -target arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
-// RUN: %clang -O1 -target arm64-apple-ios7 -ffreestanding -S -o - %s | \
+// RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
+// RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -ffreestanding -S -o - %s | \
 // RUN:   FileCheck -check-prefix=CHECK_CODEGEN %s
 // REQUIRES: arm64-registered-target
 // Test

Modified: cfe/trunk/test/CodeGen/arm64_vsri.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm64_vsri.c?rev=205147&r1=205146&r2=205147&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm64_vsri.c (original)
+++ cfe/trunk/test/CodeGen/arm64_vsri.c Sun Mar 30 08:40:57 2014
@@ -1,5 +1,5 @@
-// RUN: %clang -O1 -target arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
-// RUN: %clang -O1 -target arm64-apple-ios7 -ffreestanding -S -o - %s | \
+// RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
+// RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -ffreestanding -S -o - %s | \
 // RUN:   FileCheck -check-prefix=CHECK_CODEGEN %s
 // REQUIRES: arm64-registered-target
 

Modified: cfe/trunk/test/CodeGen/arm64_vtst.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm64_vtst.c?rev=205147&r1=205146&r2=205147&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm64_vtst.c (original)
+++ cfe/trunk/test/CodeGen/arm64_vtst.c Sun Mar 30 08:40:57 2014
@@ -1,4 +1,4 @@
-// RUN: %clang -O1 -target arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
+// RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -ffreestanding -S -o - -emit-llvm %s | FileCheck %s
 // Test ARM64 SIMD comparison test intrinsics
 
 #include <arm_neon.h>





More information about the cfe-commits mailing list