projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cbfad8
)
dded assertion if ldstopt() is called with nodes floating, we need precise block...
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 30 Jun 2005 09:51:32 +0000
(09:51 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 30 Jun 2005 09:51:32 +0000
(09:51 +0000)
[r6148]
ir/opt/ldstopt.c
patch
|
blob
|
history
diff --git
a/ir/opt/ldstopt.c
b/ir/opt/ldstopt.c
index
d535879
..
e49010d
100644
(file)
--- a/
ir/opt/ldstopt.c
+++ b/
ir/opt/ldstopt.c
@@
-869,6
+869,8
@@
void optimize_load_store(ir_graph *irg)
walk_env_t env;
assert(get_irg_phase_state(irg) != phase_building);
+ assert(get_irg_pinned(irg) != op_pin_state_floats &&
+ "LoadStore optimization needs pinned graph");
if (!get_opt_redundant_LoadStore())
return;