mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
67c2581668
commit
96b2d8daa2
|
|
@ -1,5 +1,8 @@
|
||||||
2016-06-16 Jakub Jelinek <jakub@redhat.com>
|
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
|
PR rtl-optimization/71532
|
||||||
* cse.c (cse_insn): For const/pure calls, invalidate argument passing
|
* cse.c (cse_insn): For const/pure calls, invalidate argument passing
|
||||||
memory slots.
|
memory slots.
|
||||||
|
|
|
||||||
|
|
@ -11849,8 +11849,7 @@
|
||||||
"(peep2_reg_dead_p (3, operands[1])
|
"(peep2_reg_dead_p (3, operands[1])
|
||||||
|| operands_match_p (operands[1], operands[3]))
|
|| operands_match_p (operands[1], operands[3]))
|
||||||
&& ! reg_overlap_mentioned_p (operands[3], operands[0])
|
&& ! reg_overlap_mentioned_p (operands[3], operands[0])
|
||||||
&& ! (GET_CODE (operands[4]) == CLOBBER
|
&& ! reg_set_p (operands[3], operands[4])"
|
||||||
&& reg_mentioned_p (operands[3], operands[4]))"
|
|
||||||
[(parallel [(set (match_dup 5) (match_dup 0))
|
[(parallel [(set (match_dup 5) (match_dup 0))
|
||||||
(match_dup 4)])
|
(match_dup 4)])
|
||||||
(set (strict_low_part (match_dup 6))
|
(set (strict_low_part (match_dup 6))
|
||||||
|
|
@ -11894,8 +11893,7 @@
|
||||||
"(peep2_reg_dead_p (3, operands[1])
|
"(peep2_reg_dead_p (3, operands[1])
|
||||||
|| operands_match_p (operands[1], operands[3]))
|
|| operands_match_p (operands[1], operands[3]))
|
||||||
&& ! reg_overlap_mentioned_p (operands[3], operands[0])
|
&& ! reg_overlap_mentioned_p (operands[3], operands[0])
|
||||||
&& ! (GET_CODE (operands[4]) == CLOBBER
|
&& ! reg_set_p (operands[3], operands[4])"
|
||||||
&& reg_mentioned_p (operands[3], operands[4]))"
|
|
||||||
[(parallel [(set (match_dup 5) (match_dup 0))
|
[(parallel [(set (match_dup 5) (match_dup 0))
|
||||||
(match_dup 4)])
|
(match_dup 4)])
|
||||||
(set (strict_low_part (match_dup 6))
|
(set (strict_low_part (match_dup 6))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue