i386.md (simple LEA peephole2): Add missing mode to zero_extend for zero-extended MULT simple LEA pattern.

* i386.md (simple LEA peephole2): Add missing mode to zero_extend
	for zero-extended MULT simple LEA pattern.

From-SVN: r205943
This commit is contained in:
Jeff Law 2013-12-12 14:19:20 -07:00 committed by Jeff Law
parent 5dd0cef67c
commit ed6b1c9219
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-12-12 Jeff Law <law@redhat.com>
* i386.md (simple LEA peephole2): Add missing mode to zero_extend
for zero-extended MULT simple LEA pattern.
2013-12-12 Vladimir Makarov <vmakarov@redhat.com>
PR middle-end/59470

View File

@ -17464,7 +17464,7 @@
&& REGNO (operands[0]) == REGNO (operands[1])
&& peep2_regno_dead_p (0, FLAGS_REG)"
[(parallel [(set (match_dup 0)
(zero_extend (ashift:SI (match_dup 1) (match_dup 2))))
(zero_extend:DI (ashift:SI (match_dup 1) (match_dup 2))))
(clobber (reg:CC FLAGS_REG))])]
"operands[2] = GEN_INT (exact_log2 (INTVAL (operands[2])));")