llvm-6502/test/Transforms/JumpThreading/2008-11-27-EntryMunge.ll
2009-10-11 03:54:21 +00:00

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
}