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
Added the ability to xfail based on llvmgcc version
[llvm-complete.git]
/
test
/
Transforms
/
GCSE
/
2003-06-13-LoadStoreEliminate.ll
blob
3c3b17da5d527d1964b3e4d2f570f46d89a355a2
1
; This testcase shows a bug where an common subexpression exists, but there
2
; is no shared dominator block that the expression can be hoisted out to.
3
;
4
; RUN: llvm-as < %s | opt -load-vn -gcse | llvm-dis | not grep load
5
6
int %test(int* %P) {
7
store int 5, int* %P
8
%Z = load int* %P
9
ret int %Z
10
}
11