summaryrefslogtreecommitdiffstats
path: root/test/Transforms/SimplifyCFG/basictest.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-01-28 07:12:38 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-01-28 07:12:38 +0000
commit1b5c0cb71dd9d529a14cedb4bd89d544bf7e61c3 (patch)
treedad2e758c2cdcb19e02be6660247761b70c4a939 /test/Transforms/SimplifyCFG/basictest.ll
parent07317f7d333fd03ae216865a6f0e8b3bde5f030d (diff)
downloadexternal_llvm-1b5c0cb71dd9d529a14cedb4bd89d544bf7e61c3.zip
external_llvm-1b5c0cb71dd9d529a14cedb4bd89d544bf7e61c3.tar.gz
external_llvm-1b5c0cb71dd9d529a14cedb4bd89d544bf7e61c3.tar.bz2
Revert r124462. There are a few big regressions that I need to fix first.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124478 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/SimplifyCFG/basictest.ll')
-rw-r--r--test/Transforms/SimplifyCFG/basictest.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Transforms/SimplifyCFG/basictest.ll b/test/Transforms/SimplifyCFG/basictest.ll
index 052e106..b485f6a 100644
--- a/test/Transforms/SimplifyCFG/basictest.ll
+++ b/test/Transforms/SimplifyCFG/basictest.ll
@@ -25,6 +25,16 @@ 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 [