summaryrefslogtreecommitdiffstats
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
commitd750b46f8b53de6d05f47b1a4466abe02ea567c2 (patch)
treea4d14522f40c15e2c933114fb66b5fba3b2663c9
parentf4a77d24816685506e4950afaf0fda2bb4db7bac (diff)
downloadbcm5719-llvm-d750b46f8b53de6d05f47b1a4466abe02ea567c2.tar.gz
bcm5719-llvm-d750b46f8b53de6d05f47b1a4466abe02ea567c2.zip
tail merging shrinks this code a bit. Could do more in future.
llvm-svn: 37316
-rw-r--r--llvm/test/CodeGen/X86/test-pic-jtbl.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/test-pic-jtbl.ll b/llvm/test/CodeGen/X86/test-pic-jtbl.ll
index 959fef5d8fd..d2b8cc38394 100644
--- a/llvm/test/CodeGen/X86/test-pic-jtbl.ll
+++ b/llvm/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:
OpenPOWER on IntegriCloud