mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-25 14:32:53 +00:00
3d86d242c6
move the other block back up into the entry position! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60179 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|