projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea804e2
)
fixed the loop optimization
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 22 Oct 2007 13:56:58 +0000
(13:56 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 22 Oct 2007 13:56:58 +0000
(13:56 +0000)
[r16306]
ir/opt/ldstopt.c
patch
|
blob
|
history
diff --git
a/ir/opt/ldstopt.c
b/ir/opt/ldstopt.c
index
6a5e398
..
b660daa
100644
(file)
--- a/
ir/opt/ldstopt.c
+++ b/
ir/opt/ldstopt.c
@@
-1353,12
+1353,12
@@
static void move_loads_in_loops(scc *pscc, loop_env *env) {
continue;
ent = get_SymConst_entity(ptr);
+ load_mode = get_Load_mode(load);
if (get_entity_address_taken(ent) == ir_address_not_taken) {
- /*
found one
*/
+ /*
Shortcut: If the addres is never taken, this address if complete alias free
*/
goto can_move;
}
- load_mode = get_Load_mode(load);
for (other = pscc->head; other != NULL; other = next_other) {
node_entry *ne = get_irn_ne(other, env);
next_other = ne->next;