diff options
author | Bob Wilson <bob.wilson@apple.com> | 2009-10-28 22:10:20 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2009-10-28 22:10:20 +0000 |
commit | 2c04dae715b05017d7d2c19ab4f8cb37c1e650ae (patch) | |
tree | 7302c827c3bf5c86d4afc419d97268738dc4d2e2 /test/CodeGen/X86/2008-05-12-tailmerge-5.ll | |
parent | e841d2f8679f603ec453fe56a3bf9bea97aef303 (diff) | |
download | external_llvm-2c04dae715b05017d7d2c19ab4f8cb37c1e650ae.zip external_llvm-2c04dae715b05017d7d2c19ab4f8cb37c1e650ae.tar.gz external_llvm-2c04dae715b05017d7d2c19ab4f8cb37c1e650ae.tar.bz2 |
Reimplement BranchFolding change to avoid tail merging for a 1 instruction
common tail, except when the OptimizeForSize function attribute is present.
Radar 7338114.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85441 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2008-05-12-tailmerge-5.ll')
-rw-r--r-- | test/CodeGen/X86/2008-05-12-tailmerge-5.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2008-05-12-tailmerge-5.ll b/test/CodeGen/X86/2008-05-12-tailmerge-5.ll index 1f95a24..4852e89 100644 --- a/test/CodeGen/X86/2008-05-12-tailmerge-5.ll +++ b/test/CodeGen/X86/2008-05-12-tailmerge-5.ll @@ -6,7 +6,7 @@ target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3 target triple = "x86_64-apple-darwin8" %struct.BoundaryAlignment = type { [3 x i8], i8, i16, i16, i8, [2 x i8] } -define void @passing2(i64 %str.0, i64 %str.1, i16 signext %s, i32 %j, i8 signext %c, i16 signext %t, i16 signext %u, i8 signext %d) nounwind { +define void @passing2(i64 %str.0, i64 %str.1, i16 signext %s, i32 %j, i8 signext %c, i16 signext %t, i16 signext %u, i8 signext %d) nounwind optsize { entry: %str_addr = alloca %struct.BoundaryAlignment ; <%struct.BoundaryAlignment*> [#uses=7] %s_addr = alloca i16 ; <i16*> [#uses=1] |