aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-07-28 03:53:54 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-07-28 03:53:54 +0000
commite1adf8177fcd2e571ea2183c20160ab829cb88c8 (patch)
treede926ecc35de3607926d783b10186ad7d552438d
parent1e5b6f60e2e09addd2f2e915c87d8bd74d40c369 (diff)
test/CodeGen/struct-init.c, struct-matching-constraint.c: Tweak commandline, or they would not be recognized as armv7 on some hosts.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136330 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/struct-init.c2
-rw-r--r--test/CodeGen/struct-matching-constraint.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/struct-init.c b/test/CodeGen/struct-init.c
index 9bc46ec05f..6247729c17 100644
--- a/test/CodeGen/struct-init.c
+++ b/test/CodeGen/struct-init.c
@@ -1,4 +1,4 @@
-// RUN: %clang -S -arch armv7 %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 -S -triple armv7-apple-darwin %s -emit-llvm -o - | FileCheck %s
typedef struct _zend_ini_entry zend_ini_entry;
struct _zend_ini_entry {
diff --git a/test/CodeGen/struct-matching-constraint.c b/test/CodeGen/struct-matching-constraint.c
index 445264f903..3690333cf3 100644
--- a/test/CodeGen/struct-matching-constraint.c
+++ b/test/CodeGen/struct-matching-constraint.c
@@ -1,4 +1,4 @@
-// RUN: %clang -S -emit-llvm -arch arm -march=armv7a %s
+// RUN: %clang_cc1 -S -emit-llvm -triple armv7a-apple-darwin %s
typedef unsigned short uint16_t;
typedef __attribute__((neon_vector_type(8))) uint16_t uint16x8_t;