Fix this test.
authorDan Gohman <gohman@apple.com>
Sat, 10 Jul 2010 22:42:12 +0000 (22:42 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 10 Jul 2010 22:42:12 +0000 (22:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108059 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/fast-isel-x86.ll

index f7dbe6e2c224ed61b66970e62b513283b52cf1d1..56aeb3a34364b624ea6df76ff953f1a796f92872 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 -relocation-model=pic
+; RUN: llc -march=x86 -relocation-model=pic < %s
 
 ; This should use flds to set the return value.
 ; CHECK: test0:
@@ -28,6 +28,6 @@ define void @test1({i32, i32, i32, i32}* sret %p) nounwind {
 ; CHECK: ret
 @HHH = external global i32
 define i32 @test2() nounwind {
-  %t = load i32* @H
+  %t = load i32* @HHH
   ret i32 %t
 }