projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
When the two operands of an icmp are equal, there are five possible predicates
[oota-llvm.git]
/
test
/
Transforms
/
SimplifyCFG
/
basictest.ll
1
; Test CFG simplify removal of branch instructions...
2
;
3
; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep br
4
5
6
void "test1"() {
7
br label %BB1
8
BB1:
9
ret void
10
}
11
12
void "test2"() {
13
ret void
14
BB1:
15
ret void
16
}
17
18
void "test3"(bool %T) {
19
br bool %T, label %BB1, label %BB1
20
BB1:
21
ret void
22
}
23
24