summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/bitfield-assign.c
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-02-03 21:54:49 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-02-03 21:54:49 +0000
commit25bd0320841785cf4e0cf563f7dc56169197b9e0 (patch)
tree6c7f7c5ade1148ff9bccf3447197257c26e0593f /clang/test/CodeGen/bitfield-assign.c
parenta4e0d1d1776e6c2c4b64d662d29b0897215887b5 (diff)
downloadbcm5719-llvm-25bd0320841785cf4e0cf563f7dc56169197b9e0.tar.gz
bcm5719-llvm-25bd0320841785cf4e0cf563f7dc56169197b9e0.zip
Force triple for codegen tests which have expectations on output
types. llvm-svn: 63669
Diffstat (limited to 'clang/test/CodeGen/bitfield-assign.c')
-rw-r--r--clang/test/CodeGen/bitfield-assign.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/bitfield-assign.c b/clang/test/CodeGen/bitfield-assign.c
index fc163b4d3ba..0453d77ba04 100644
--- a/clang/test/CodeGen/bitfield-assign.c
+++ b/clang/test/CodeGen/bitfield-assign.c
@@ -4,12 +4,12 @@
/* Check that we get one load for each simple assign and two for the
compound assign (load the old value before the add then load again
to store back). Also check that our g0 pattern is good. */
-// RUN: clang -O0 -emit-llvm -o %t %s &&
+// RUN: clang -triple i386-unknown-unknown -O0 -emit-llvm -o %t %s &&
// RUN: grep 'load ' %t | count 5 &&
// RUN: grep "@g0" %t | count 4 &&
// Check that we got the right value.
-// RUN: clang -O3 -emit-llvm -o %t %s &&
+// RUN: clang -triple i386-unknown-unknown -O3 -emit-llvm -o %t %s &&
// RUN: grep 'load ' %t | count 0 &&
// RUN: grep "@g0" %t | count 0
OpenPOWER on IntegriCloud