llvm-6502/test/Transforms/JumpThreading/2008-11-27-EntryMunge.ll

14 lines
269 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | opt -jump-threading -simplifycfg | llvm-dis | 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
}