summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/dollar-name.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-06-12 21:23:38 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-06-12 21:23:38 +0000
commit933b5065e5219538fdb70c661f90819a910433b9 (patch)
treeefd7c1a9e9c74f76a8266b9aa22250a596b3be1a /test/CodeGen/X86/dollar-name.ll
parent502a4f5162498ec420e3cb22f667808d726dd7da (diff)
downloadllvm-933b5065e5219538fdb70c661f90819a910433b9.tar.gz
llvm-933b5065e5219538fdb70c661f90819a910433b9.tar.bz2
llvm-933b5065e5219538fdb70c661f90819a910433b9.tar.xz
Fix some tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52245 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/dollar-name.ll')
-rw-r--r--test/CodeGen/X86/dollar-name.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/X86/dollar-name.ll b/test/CodeGen/X86/dollar-name.ll
index 9d9235e647..885700ef82 100644
--- a/test/CodeGen/X86/dollar-name.ll
+++ b/test/CodeGen/X86/dollar-name.ll
@@ -1,12 +1,12 @@
-; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep {(\$bar)} | count 1
-; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep {(\$qux)} | count 1
-; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep {(\$hen)} | count 1
+; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux | grep {(\$bar)} | count 1
+; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux | grep {(\$qux)} | count 1
+; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux | grep {(\$hen)} | count 1
; PR1339
@"$bar" = global i32 zeroinitializer
@"$qux" = external global i32
-define i32 @"$foo"() {
+define i32 @"$foo"() nounwind {
%m = load i32* @"$bar"
%n = load i32* @"$qux"
%t = add i32 %m, %n