[llvm-commits] [llvm] r43961 - in /llvm/trunk/test/CodeGen/X86: pic_jumptable.ll test-pic-jtbl.ll

Evan Cheng evan.cheng at apple.com
Fri Nov 9 12:46:00 PST 2007


Author: evancheng
Date: Fri Nov  9 14:46:00 2007
New Revision: 43961

URL: http://llvm.org/viewvc/llvm-project?rev=43961&view=rev
Log:
Fix tests.

Modified:
    llvm/trunk/test/CodeGen/X86/pic_jumptable.ll
    llvm/trunk/test/CodeGen/X86/test-pic-jtbl.ll

Modified: llvm/trunk/test/CodeGen/X86/pic_jumptable.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/pic_jumptable.ll?rev=43961&r1=43960&r2=43961&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/pic_jumptable.ll (original)
+++ llvm/trunk/test/CodeGen/X86/pic_jumptable.ll Fri Nov  9 14:46:00 2007
@@ -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:
 

Modified: llvm/trunk/test/CodeGen/X86/test-pic-jtbl.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/test-pic-jtbl.ll?rev=43961&r1=43960&r2=43961&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/test-pic-jtbl.ll (original)
+++ llvm/trunk/test/CodeGen/X86/test-pic-jtbl.ll Fri Nov  9 14:46:00 2007
@@ -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:





More information about the llvm-commits mailing list