projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
3c3b17da5d527d1964b3e4d2f570f46d89a355a2
[oota-llvm.git]
/
2003-06-13-LoadStoreEliminate.ll
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