mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
14 lines
269 B
LLVM
14 lines
269 B
LLVM
|
; 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
|
||
|
}
|