diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-11-09 20:46:00 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-11-09 20:46:00 +0000 |
commit | 9858c348d7ed1c909c5e193d4f46ae4ef67a8b1f (patch) | |
tree | 0a7ee2dab2ba966ff0f410a8256acbd395650965 /test/CodeGen/X86 | |
parent | 7168be956d2469fdd1ec25518f0ea8225487923a (diff) | |
download | external_llvm-9858c348d7ed1c909c5e193d4f46ae4ef67a8b1f.zip external_llvm-9858c348d7ed1c909c5e193d4f46ae4ef67a8b1f.tar.gz external_llvm-9858c348d7ed1c909c5e193d4f46ae4ef67a8b1f.tar.bz2 |
Fix tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43961 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86')
-rw-r--r-- | test/CodeGen/X86/pic_jumptable.ll | 6 | ||||
-rw-r--r-- | test/CodeGen/X86/test-pic-jtbl.ll | 6 |
2 files changed, 5 insertions, 7 deletions
diff --git a/test/CodeGen/X86/pic_jumptable.ll b/test/CodeGen/X86/pic_jumptable.ll index 4c38fb8..d074514 100644 --- a/test/CodeGen/X86/pic_jumptable.ll +++ b/test/CodeGen/X86/pic_jumptable.ll @@ -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: diff --git a/test/CodeGen/X86/test-pic-jtbl.ll b/test/CodeGen/X86/test-pic-jtbl.ll index 7347e28..516a20b 100644 --- a/test/CodeGen/X86/test-pic-jtbl.ll +++ b/test/CodeGen/X86/test-pic-jtbl.ll @@ -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: |