projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Folding or(fcmp,fcmp) only works if the operands of the fcmps are the same fp type.
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
store.ll
1
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
2
; RUN: grep -v {store.*,.*null} | not grep store
3
4
void %test1(int* %P) {
5
store int undef, int* %P
6
store int 123, int* undef
7
store int 124, int* null
8
ret void
9
}
10
11
void %test2(int* %P) {
12
%X = load int* %P
13
%Y = add int %X, 0
14
store int %Y, int* %P
15
ret void
16
}