projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82bbb89
)
no need to test mode of other argument in use_source_address_mode
author
Matthias Braun
<matze@braunis.de>
Tue, 16 Oct 2007 20:58:01 +0000
(20:58 +0000)
committer
Matthias Braun
<matze@braunis.de>
Tue, 16 Oct 2007 20:58:01 +0000
(20:58 +0000)
[r16241]
ir/be/ia32/ia32_transform.c
patch
|
blob
|
history
diff --git
a/ir/be/ia32/ia32_transform.c
b/ir/be/ia32/ia32_transform.c
index
368a262
..
2ed4212
100644
(file)
--- a/
ir/be/ia32/ia32_transform.c
+++ b/
ir/be/ia32/ia32_transform.c
@@
-487,9
+487,6
@@
int ia32_use_source_address_mode(ir_node *block, ir_node *node, ir_node *other)
if(get_irn_n_edges(node) > 1)
return 0;
- if(other != NULL && get_Load_mode(load) != get_irn_mode(other))
- return 0;
-
/* don't do AM if other node inputs depend on the load (via mem-proj) */
if(other != NULL && get_nodes_block(other) == block
&& heights_reachable_in_block(heights, other, load))