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

14 lines
237 B
LLVM

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