[llvm-commits] CVS: llvm/test/CodeGen/X86/test-pic-jtbl.ll
Dale Johannesen
dalej at apple.com
Fri Jun 1 16:03:07 PDT 2007
Changes in directory llvm/test/CodeGen/X86:
test-pic-jtbl.ll updated: 1.4 -> 1.5
---
Log message:
Implement smarter algorithm for choosing which blocks to tail-merge.
See test/CodeGen/X86/test-pic-jtbl.ll for a case where it works well;
shaves another 10K off our favorite benchmark. I was hesitant about
this because of compile speed, but seems to do OK on a bootstrap.
---
Diffs of the changes: (+2 -3)
test-pic-jtbl.ll | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
Index: llvm/test/CodeGen/X86/test-pic-jtbl.ll
diff -u llvm/test/CodeGen/X86/test-pic-jtbl.ll:1.4 llvm/test/CodeGen/X86/test-pic-jtbl.ll:1.5
--- llvm/test/CodeGen/X86/test-pic-jtbl.ll:1.4 Wed May 23 16:09:26 2007
+++ llvm/test/CodeGen/X86/test-pic-jtbl.ll Fri Jun 1 18:02:45 2007
@@ -2,10 +2,9 @@
; 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 11
+; RUN: grep PLT %t | wc -l | grep 6
; RUN: grep GOTOFF %t | wc -l | grep 1
-; RUN: grep JTI %t | wc -l | grep 13
-; Improved tail merging could reduce the number of PLT's and JTI's further.
+; RUN: grep JTI %t | wc -l | grep 8
define void @bar(i32 %n.u) {
entry:
More information about the llvm-commits
mailing list