diff options
author | Dale Johannesen <dalej@apple.com> | 2007-05-23 21:09:26 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2007-05-23 21:09:26 +0000 |
commit | d750b46f8b53de6d05f47b1a4466abe02ea567c2 (patch) | |
tree | a4d14522f40c15e2c933114fb66b5fba3b2663c9 | |
parent | f4a77d24816685506e4950afaf0fda2bb4db7bac (diff) | |
download | bcm5719-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.ll | 5 |
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: |