i386.md (setcc + movzbl peephole2): Use reg_set_p.

* config/i386/i386.md (setcc + movzbl peephole2): Use reg_set_p.
	(setcc + and peephole2): Likewise.

From-SVN: r237504
This commit is contained in:
Jakub Jelinek 2016-06-16 11:27:41 +02:00 committed by Jakub Jelinek
parent 67c2581668
commit 96b2d8daa2
2 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,8 @@
2016-06-16 Jakub Jelinek <jakub@redhat.com>
* config/i386/i386.md (setcc + movzbl peephole2): Use reg_set_p.
(setcc + and peephole2): Likewise.
PR rtl-optimization/71532
* cse.c (cse_insn): For const/pure calls, invalidate argument passing
memory slots.

View File

@ -11849,8 +11849,7 @@
"(peep2_reg_dead_p (3, operands[1])
|| operands_match_p (operands[1], operands[3]))
&& ! reg_overlap_mentioned_p (operands[3], operands[0])
&& ! (GET_CODE (operands[4]) == CLOBBER
&& reg_mentioned_p (operands[3], operands[4]))"
&& ! reg_set_p (operands[3], operands[4])"
[(parallel [(set (match_dup 5) (match_dup 0))
(match_dup 4)])
(set (strict_low_part (match_dup 6))
@ -11894,8 +11893,7 @@
"(peep2_reg_dead_p (3, operands[1])
|| operands_match_p (operands[1], operands[3]))
&& ! reg_overlap_mentioned_p (operands[3], operands[0])
&& ! (GET_CODE (operands[4]) == CLOBBER
&& reg_mentioned_p (operands[3], operands[4]))"
&& ! reg_set_p (operands[3], operands[4])"
[(parallel [(set (match_dup 5) (match_dup 0))
(match_dup 4)])
(set (strict_low_part (match_dup 6))