repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
revert a hunk of r82018 that wasn't supposed to go in yet.
[llvm/avr.git]
/
test
/
Analysis
/
ScalarEvolution
/
2007-11-18-OrInstruction.ll
blob
2b3c982d6b1278f5455703a7e0971927e8bd0127
1
; RUN: opt < %s -analyze -scalar-evolution -disable-output | grep -e {--> %b}
2
; PR1810
3
4
define void @fun() {
5
entry:
6
br label %header
7
header:
8
%i = phi i32 [ 1, %entry ], [ %i.next, %body ]
9
%cond = icmp eq i32 %i, 10
10
br i1 %cond, label %exit, label %body
11
body:
12
%a = mul i32 %i, 5
13
%b = or i32 %a, 1
14
%i.next = add i32 %i, 1
15
br label %header
16
exit:
17
ret void
18
}