projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Don't do (x - (y - z)) --> (x + (z - y)) on floating-point types, because
[oota-llvm.git]
/
test
/
Transforms
/
LoopSimplify
/
2004-03-15-IncorrectDomUpdate.ll
1
; RUN: llvm-as < %s | opt -loopsimplify -licm -disable-output
2
define void @main() {
3
entry:
4
br i1 false, label %Out, label %loop
5
loop: ; preds = %loop, %entry
6
%LI = icmp sgt i32 0, 0 ; <i1> [#uses=1]
7
br i1 %LI, label %loop, label %Out
8
Out: ; preds = %loop, %entry
9
ret void
10
}
11