tail merging shrinks this code a bit. Could do more in future.
authorDale Johannesen <dalej@apple.com>
Wed, 23 May 2007 21:09:26 +0000 (21:09 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 23 May 2007 21:09:26 +0000 (21:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37316 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 959fef5d8fd283953ca83fe4e85da0ff25e5cec7..d2b8cc383945e89c53e4453e1c6571a7c83f32a8 100644 (file)
@@ -2,9 +2,10 @@
 ; RUN:   -o %t -f
 ; RUN: grep _GLOBAL_OFFSET_TABLE_ %t
 ; RUN: grep piclabel %t | wc -l | grep 3 
-; RUN: grep PLT %t | wc -l | grep 13 
+; RUN: grep PLT %t | wc -l | grep 11 
 ; RUN: grep GOTOFF %t | wc -l | grep 1 
-; RUN: grep JTI %t | wc -l | grep 15
+; RUN: grep JTI %t | wc -l | grep 13
+; Improved tail merging could reduce the number of PLT's and JTI's further.
 
 define void @bar(i32 %n.u) {
 entry: