repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix bugs section.
[llvm-complete.git]
/
test
/
Analysis
/
LoadVN
/
RLE-Preserve-Volatile.ll
blob
99660168fb2dd45d28f1e488a6dfbac4c5f3a624
1
2
; RUN: llvm-upgrade < %s | llvm-as | opt -load-vn -gcse -instcombine | llvm-dis | grep sub
3
4
int %test(int* %P) {
5
%X = volatile load int* %P
6
%Y = volatile load int* %P
7
%Z = sub int %X, %Y
8
ret int %Z
9
}