aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/JumpThreading/2008-11-27-EntryMunge.ll
blob: 6a50d4f1a32cde7c6725c001f3f1d1ed1fd632bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; 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
}