summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPreston Gurd <preston.gurd@intel.com>2012-10-03 16:52:40 +0000
committerPreston Gurd <preston.gurd@intel.com>2012-10-03 16:52:40 +0000
commit7912de6829903cf693e90126580d9cbb8879bac2 (patch)
tree9cac9be1361e9b8e5fc51db9c17381bdd855b92a
parenta3d7df6fee322f2276ddc841c2d2e291be79680c (diff)
downloadbcm5719-llvm-7912de6829903cf693e90126580d9cbb8879bac2.tar.gz
bcm5719-llvm-7912de6829903cf693e90126580d9cbb8879bac2.zip
Fix failure of newly added test, by using %clang instead of %clang_cc1
and by specifying a target. llvm-svn: 165130
-rw-r--r--clang/test/CodeGen/atom-idiv-bypass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/atom-idiv-bypass.c b/clang/test/CodeGen/atom-idiv-bypass.c
index 596e18b01c2..a2ed55329d7 100644
--- a/clang/test/CodeGen/atom-idiv-bypass.c
+++ b/clang/test/CodeGen/atom-idiv-bypass.c
@@ -3,7 +3,7 @@
// branch to bypass the slow IDIV instruction. This test verifies that global
// context types are used when comparing with those in the BypassTypeMap.
-// RUN: %clang_cc1 %s -march=atom -m32 -O2 -S -o - | FileCheck %s
+// RUN: %clang %s -triple i386-unknown-unknown -march=atom -m32 -O2 -S -o - | FileCheck %s
// CHECK: div32
// CHECK: orl
// CHECK: testl
OpenPOWER on IntegriCloud