aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/commute-two-addr.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-07-20 03:56:48 +0000
committerChris Lattner <sabre@nondot.org>2005-07-20 03:56:48 +0000
commit837451b168a434a0511fd8c88f5e6466318d2562 (patch)
tree045613d206cb04d52309f6ff06b95fda788b6e71 /test/CodeGen/X86/commute-two-addr.ll
parenta3fd400fa87f2d7f23b2c54195bf283cbec1758a (diff)
downloadexternal_llvm-837451b168a434a0511fd8c88f5e6466318d2562.zip
external_llvm-837451b168a434a0511fd8c88f5e6466318d2562.tar.gz
external_llvm-837451b168a434a0511fd8c88f5e6466318d2562.tar.bz2
set the target triple so that we don't fail due to X86 abi issues
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22479 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/commute-two-addr.ll')
-rw-r--r--test/CodeGen/X86/commute-two-addr.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/X86/commute-two-addr.ll b/test/CodeGen/X86/commute-two-addr.ll
index 5f6baf4..ac1aa60 100644
--- a/test/CodeGen/X86/commute-two-addr.ll
+++ b/test/CodeGen/X86/commute-two-addr.ll
@@ -4,6 +4,9 @@
; Make sure there are only 3 mov's for each testcase
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel | grep 'mov ' | wc -l | grep 6
+
+target triple = "i686-pc-linux-gnu"
+
%G = external global int
declare void %ext(int)