projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11ed4c9
)
Fixed move_consts_up() failure in some contexts (This partly fixes codegen/lea.c).
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 18 Jan 2010 00:32:49 +0000
(
00:32
+0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 18 Jan 2010 00:32:49 +0000
(
00:32
+0000)
[r26979]
ir/opt/reassoc.c
patch
|
blob
|
history
diff --git
a/ir/opt/reassoc.c
b/ir/opt/reassoc.c
index
07e96cc
..
2f4c26a
100644
(file)
--- a/
ir/opt/reassoc.c
+++ b/
ir/opt/reassoc.c
@@
-782,7
+782,8
@@
static int move_consts_up(ir_node **node) {
dbg = dbg == get_irn_dbg_info(l) ? dbg : NULL;
goto transform;
}
- } else if (get_irn_op(r) == op) {
+ }
+ if (get_irn_op(r) == op) {
/* l .op. (a .op. b) */
a = get_binop_left(r);
b = get_binop_right(r);