i386.c (add->lea splitter): Add SWI mode to PLUS RTX.
authorUros Bizjak <ubizjak@gmail.com>
Thu, 28 Jul 2011 07:18:49 +0000 (09:18 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 28 Jul 2011 07:18:49 +0000 (09:18 +0200)
* config/i386/i386.c (add->lea splitter): Add SWI mode to PLUS RTX.

From-SVN: r176860

gcc/ChangeLog
gcc/config/i386/i386.md

index b07d494d6797160475502882ef35d34c98430ad5..2245872ca9c348236aaa5ad6ba4fda1bd573bf5c 100644 (file)
@@ -1,3 +1,7 @@
+2011-07-28  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.c (add->lea splitter): Add SWI mode to PLUS RTX.
+
 2011-07-27  Sebastian Pop  <sebastian.pop@amd.com>
 
        PR tree-optimization/49471
index e91a2999ffb5a47d9035b337c7e11fb8aa68ba3c..a4435c2d232df4e36a1cefb4dbca5b2e2715c659 100644 (file)
 ;; Convert add to the lea pattern to avoid flags dependency.
 (define_split
   [(set (match_operand:SWI 0 "register_operand" "")
-       (plus (match_operand:SWI 1 "register_operand" "")
-              (match_operand:SWI 2 "<nonmemory_operand>" "")))
+       (plus:SWI (match_operand:SWI 1 "register_operand" "")
+                 (match_operand:SWI 2 "<nonmemory_operand>" "")))
    (clobber (reg:CC FLAGS_REG))]
   "reload_completed && ix86_lea_for_add_ok (insn, operands)" 
   [(const_int 0)]