repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[AMDGPU] Add True16 register classes.
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
JumpThreading
/
2008-11-27-EntryMunge.ll
blob
f70caf3da131b4e01c16e8adbe5afbdb6c6a54d0
1
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2
; RUN: opt -passes=jump-threading -S < %s | FileCheck %s
3
; PR3138
4
5
; Check that there's a ret 0
6
define i32 @jt() {
7
; CHECK-LABEL: @jt(
8
; CHECK-NEXT: bb3:
9
; CHECK-NEXT: ret i32 0
10
;
11
entry:
12
br i1 true, label %bb3, label %bb
13
14
bb: ; preds = %entry
15
unreachable
16
17
bb3: ; preds = %entry
18
ret i32 0
19
}