From f2a2daebb4d76fe77b79c9bc1343a3f67a4b77d9 Mon Sep 17 00:00:00 2001 From: Preston Gurd Date: Wed, 3 Oct 2012 16:52:40 +0000 Subject: [PATCH] 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 --- test/CodeGen/atom-idiv-bypass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0