Fix tests.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 9 Nov 2007 20:46:00 +0000 (20:46 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 9 Nov 2007 20:46:00 +0000 (20:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43961 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/pic_jumptable.ll
test/CodeGen/X86/test-pic-jtbl.ll

index 4c38fb806146cce9b6003f32b456d7fd5c108a1a..d074514476d5b89a509752e3cbe3c6068c89e95e 100644 (file)
@@ -1,7 +1,5 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -relocation-model=pic -march=x86 | not grep -F .text
-target endian = little
-target pointersize = 32
-target triple = "i386-linux-gnu"
+; RUN: llvm-upgrade < %s | llvm-as | llc -relocation-model=pic -mtriple=i386-linux-gnu | not grep -F .text
+; RUN: llvm-upgrade < %s | llvm-as | llc -relocation-model=pic -mtriple=i686-apple-darwin | not grep lea
 
 implementation   ; Functions:
 
index 7347e281fa1ca45a565d7c52c2207f641b481683..516a20bfb5c9bdd211440207d0d9a7f2b8fb0639 100644 (file)
@@ -1,10 +1,10 @@
 ; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu -relocation-model=pic \
 ; RUN:   -o %t -f
 ; RUN: grep _GLOBAL_OFFSET_TABLE_ %t
-; RUN: grep piclabel %t | count 3
+; RUN: grep piclabel %t | count 9
 ; RUN: grep PLT %t | count 6
-; RUN: grep GOTOFF %t | count 2
-; RUN: grep JTI %t | count 9
+; RUN: grep GOTOFF %t | count 1
+; RUN: grep JTI %t | count 2
 
 define void @bar(i32 %n.u) {
 entry: