projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New testcase
[oota-llvm.git]
/
test
/
Analysis
/
LoadVN
/
RLE-Preserve-Volatile.ll
1
2
; RUN: llvm-as < %s | opt -load-vn -gcse -instcombine | dis | grep sub
3
4
int %test(int* %P) {
5
%X = load volatile int* %P
6
%Y = load volatile int* %P
7
%Z = sub int %X, %Y
8
ret int %Z
9
}