summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SimplifyCFG/dce-cond-after-folding-terminator.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/SimplifyCFG/dce-cond-after-folding-terminator.ll')
-rw-r--r--llvm/test/Transforms/SimplifyCFG/dce-cond-after-folding-terminator.ll5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/test/Transforms/SimplifyCFG/dce-cond-after-folding-terminator.ll b/llvm/test/Transforms/SimplifyCFG/dce-cond-after-folding-terminator.ll
index 036a615e7ff..a15cdd6a28f 100644
--- a/llvm/test/Transforms/SimplifyCFG/dce-cond-after-folding-terminator.ll
+++ b/llvm/test/Transforms/SimplifyCFG/dce-cond-after-folding-terminator.ll
@@ -37,10 +37,7 @@ define void @test_indirectbr(i32 %x) {
entry:
; CHECK-LABEL: @test_indirectbr(
; CHECK-NEXT: entry:
-; Ideally this should now check:
-; CHK-NEXT: ret void
-; But that doesn't happen yet. Instead:
-; CHECK-NEXT: br label %L1
+; CHECK-NEXT: ret void
%label = bitcast i8* blockaddress(@test_indirectbr, %L1) to i8*
indirectbr i8* %label, [label %L1, label %L2]
OpenPOWER on IntegriCloud