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
[ORC] Add std::tuple support to SimplePackedSerialization.
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
FixIrreducible
/
unreachable.ll
blob
71cd81e01953eac97af31edcab1dc55c5ec8bc36
1
; RUN: opt %s -fix-irreducible -S -o - | FileCheck %s
2
3
; CHECK-LABEL: @unreachable(
4
; CHECK: entry:
5
; CHECK-NOT: irr.guard:
6
define void @unreachable(i32 %n) {
7
entry:
8
br label %loop.body
9
10
loop.body:
11
br label %inner.block
12
13
unreachable.block:
14
br label %inner.block
15
16
inner.block:
17
br i1 undef, label %loop.exit, label %loop.latch
18
19
loop.latch:
20
br label %loop.body
21
22
loop.exit:
23
ret void
24
}