projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
590df14
)
Clarify a comment.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 23 Oct 2007 21:48:57 +0000
(21:48 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 23 Oct 2007 21:48:57 +0000
(21:48 +0000)
[r16321]
ir/be/ia32/ia32_address_mode.c
patch
|
blob
|
history
diff --git
a/ir/be/ia32/ia32_address_mode.c
b/ir/be/ia32/ia32_address_mode.c
index
12ac64e
..
d6e4359
100644
(file)
--- a/
ir/be/ia32/ia32_address_mode.c
+++ b/
ir/be/ia32/ia32_address_mode.c
@@
-351,8
+351,9
@@
void ia32_create_address_mode(ia32_address_t *addr, ir_node *node, int force)
}
/* starting point Add, Sub or Shl, FrameAddr */
- if(is_Shl(node)) { /* we don't want to eat add x, x as shl here, so only
- test for real Shl instructions */
+ if(is_Shl(node)) {
+ /* We don't want to eat add x, x as shl here, so only test for real Shl
+ * instructions, because we want the former as Lea x, x, not Shl x, 1 */
if(eat_shl(addr, node))
return;
} else if(is_immediate(addr, node, 0)) {