From: Uros Bizjak Date: Thu, 28 Jul 2011 07:18:49 +0000 (+0200) Subject: i386.c (add->lea splitter): Add SWI mode to PLUS RTX. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8fa1b739feb67b0b93f93d37b0384b403e74662;p=gcc.git i386.c (add->lea splitter): Add SWI mode to PLUS RTX. * config/i386/i386.c (add->lea splitter): Add SWI mode to PLUS RTX. From-SVN: r176860 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b07d494d679..2245872ca9c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-07-28 Uros Bizjak + + * config/i386/i386.c (add->lea splitter): Add SWI mode to PLUS RTX. + 2011-07-27 Sebastian Pop PR tree-optimization/49471 diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index e91a2999ffb..a4435c2d232 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -5806,8 +5806,8 @@ ;; 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 "" ""))) + (plus:SWI (match_operand:SWI 1 "register_operand" "") + (match_operand:SWI 2 "" ""))) (clobber (reg:CC FLAGS_REG))] "reload_completed && ix86_lea_for_add_ok (insn, operands)" [(const_int 0)]