[llvm-commits] CVS: llvm/test/CodeGen/X86/test-pic-jtbl.ll

Dale Johannesen dalej at apple.com
Wed May 23 14:09:44 PDT 2007



Changes in directory llvm/test/CodeGen/X86:

test-pic-jtbl.ll updated: 1.3 -> 1.4
---
Log message:

tail merging shrinks this code a bit.  Could do more in future.


---
Diffs of the changes:  (+3 -2)

 test-pic-jtbl.ll |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


Index: llvm/test/CodeGen/X86/test-pic-jtbl.ll
diff -u llvm/test/CodeGen/X86/test-pic-jtbl.ll:1.3 llvm/test/CodeGen/X86/test-pic-jtbl.ll:1.4
--- llvm/test/CodeGen/X86/test-pic-jtbl.ll:1.3	Mon Apr 16 12:36:07 2007
+++ llvm/test/CodeGen/X86/test-pic-jtbl.ll	Wed May 23 16:09:26 2007
@@ -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:






More information about the llvm-commits mailing list