aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2007-05-23 21:09:26 +0000
committerDale Johannesen <dalej@apple.com>2007-05-23 21:09:26 +0000
commit4212a2320f2b00a195169ca4ae648411556ded3c (patch)
tree46297ca924b7c277ce2252dfe4ff31ba0748370a
parent7aea8320340ce867eb4328aeec52cb02c88ef0b3 (diff)
tail merging shrinks this code a bit. Could do more in future.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37316 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/X86/test-pic-jtbl.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/X86/test-pic-jtbl.ll b/test/CodeGen/X86/test-pic-jtbl.ll
index 959fef5d8f..d2b8cc3839 100644
--- a/test/CodeGen/X86/test-pic-jtbl.ll
+++ b/test/CodeGen/X86/test-pic-jtbl.ll
@@ -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: