Clarify a comment.
authorChristoph Mallon <christoph.mallon@gmx.de>
Tue, 23 Oct 2007 21:48:57 +0000 (21:48 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Tue, 23 Oct 2007 21:48:57 +0000 (21:48 +0000)
[r16321]

ir/be/ia32/ia32_address_mode.c

index 12ac64e..d6e4359 100644 (file)
@@ -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)) {