From: Preston Gurd Date: Wed, 3 Oct 2012 16:52:40 +0000 (+0000) Subject: Fix failure of newly added test, by using %clang instead of %clang_cc1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2a2daebb4d76fe77b79c9bc1343a3f67a4b77d9;p=clang 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 --- 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