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
/
Transforms
/
LICM
/
2003-02-27-StoreSinkPHIs.ll
1
; LICM is adding stores before phi nodes. bad.
2
3
; RUN: as < %s | opt -licm
4
5
bool %test(bool %c) {
6
br bool %c, label %Loop, label %Out
7
Loop:
8
store int 0, int* null
9
br bool %c, label %Loop, label %Out
10
Out:
11
%X = phi bool [%c, %0], [true, %Loop]
12
ret bool %X
13
}