aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen
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
commitf2a2daebb4d76fe77b79c9bc1343a3f67a4b77d9 (patch)
tree288fea0dd2bd0f409c3f60f8d1a5206efa09f33d /test/CodeGen
parentd73ea0b0c20ac745999604aa4818faa94905e926 (diff)
Fix failure of newly added test, by using %clang instead of %clang_cc1
and by specifying a target. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/atom-idiv-bypass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/atom-idiv-bypass.c b/test/CodeGen/atom-idiv-bypass.c
index 596e18b01c..a2ed55329d 100644
--- a/test/CodeGen/atom-idiv-bypass.c
+++ b/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