projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9541b6
)
beware of loops without Phis
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 22 Oct 2007 14:14:22 +0000
(14:14 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 22 Oct 2007 14:14:22 +0000
(14:14 +0000)
[r16307]
ir/opt/ldstopt.c
patch
|
blob
|
history
diff --git
a/ir/opt/ldstopt.c
b/ir/opt/ldstopt.c
index
b660daa
..
00fa550
100644
(file)
--- a/
ir/opt/ldstopt.c
+++ b/
ir/opt/ldstopt.c
@@
-1334,6
+1334,9
@@
static void move_loads_in_loops(scc *pscc, loop_env *env) {
}
}
}
+ /* no Phis no fun */
+ if (phi_list == NULL)
+ return;
for (load = pscc->head; load; load = next) {
ir_mode *load_mode;