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
/
DeadStoreElimination
/
simple.ll
1
; RUN: llvm-as < %s | opt -dse | llvm-dis | not grep DEAD
2
3
define void @test(i32* %Q, i32* %P) {
4
%DEAD = load i32* %Q ; <i32> [#uses=1]
5
store i32 %DEAD, i32* %P
6
store i32 0, i32* %P
7
ret void
8
}
9