From 4212a2320f2b00a195169ca4ae648411556ded3c Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Wed, 23 May 2007 21:09:26 +0000 Subject: [PATCH] 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 --- test/CodeGen/X86/test-pic-jtbl.ll | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/CodeGen/X86/test-pic-jtbl.ll b/test/CodeGen/X86/test-pic-jtbl.ll index 959fef5d8fd..d2b8cc38394 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: -- 2.34.1