llvm-6502/test/Transforms/JumpThreading/2008-11-27-EntryMunge.ll
2009-09-09 00:09:15 +00:00

14 lines
250 B
LLVM

; RUN: opt < %s -jump-threading -simplifycfg -S | grep {ret i32 0}
; PR3138
define i32 @jt() {
entry:
br i1 true, label %bb3, label %bb
bb: ; preds = %entry
unreachable
bb3: ; preds = %entry
ret i32 0
}