summaryrefslogtreecommitdiffstats
path: root/test/Transforms/SimplifyCFG/basictest.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-01-28 02:19:21 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-01-28 02:19:21 +0000
commit40f64cb0de40802ddd2f928b62e9564e1e721ff3 (patch)
treee94f9f5d77d86efd85ac2d6f0ad8a3ced55ca5ee /test/Transforms/SimplifyCFG/basictest.ll
parentc3a20bab7571ff95525252c379198e67b65d0f1d (diff)
downloadexternal_llvm-40f64cb0de40802ddd2f928b62e9564e1e721ff3.zip
external_llvm-40f64cb0de40802ddd2f928b62e9564e1e721ff3.tar.gz
external_llvm-40f64cb0de40802ddd2f928b62e9564e1e721ff3.tar.bz2
- Stop simplifycfg from duplicating "ret" instructions into unconditional
branches. PR8575, rdar://5134905, rdar://8911460. - Allow codegen tail duplication to dup small return blocks after register allocation is done. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124462 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/SimplifyCFG/basictest.ll')
-rw-r--r--test/Transforms/SimplifyCFG/basictest.ll10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/Transforms/SimplifyCFG/basictest.ll b/test/Transforms/SimplifyCFG/basictest.ll
index b485f6a..052e106 100644
--- a/test/Transforms/SimplifyCFG/basictest.ll
+++ b/test/Transforms/SimplifyCFG/basictest.ll
@@ -25,16 +25,6 @@ define void @test3(i1 %T) {
}
-define void @test4() {
- br label %return
-return:
- ret void
-; CHECK: @test4
-; CHECK-NEXT: ret void
-}
-@test4g = global i8* blockaddress(@test4, %return)
-
-
; PR5795
define void @test5(i32 %A) {
switch i32 %A, label %return [