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
This commit is contained in:
Uros Bizjak 2011-07-28 09:18:49 +02:00 committed by Uros Bizjak
parent 542550cf6c
commit d8fa1b739f
2 changed files with 6 additions and 2 deletions

View 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

View File

@ -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 "<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)]