Commit 3168e073 by Andreas Krebbel Committed by Andreas Krebbel

S/390: Replace rtx_equal_p with reg_overlap_mentioned_p in splitter check.

gcc/ChangeLog:

2016-05-27  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* config/s390/s390.md (2x risbg splitters): Use
	reg_overlap_mentioned_p instead of rtx_equal_p.

From-SVN: r236814
parent 6a813c96
2016-05-27 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* config/s390/s390.md (2x risbg splitters): Use
reg_overlap_mentioned_p instead of rtx_equal_p.
2016-05-27 Dominik Vogt <vogt@linux.vnet.ibm.com> 2016-05-27 Dominik Vogt <vogt@linux.vnet.ibm.com>
* combine.c (make_compound_operation): Take known zero bits into * combine.c (make_compound_operation): Take known zero bits into
......
...@@ -3926,7 +3926,7 @@ ...@@ -3926,7 +3926,7 @@
(ashift:GPR (match_dup 3) (match_dup 4))))] (ashift:GPR (match_dup 3) (match_dup 4))))]
{ {
operands[5] = GEN_INT ((1UL << UINTVAL (operands[4])) - 1); operands[5] = GEN_INT ((1UL << UINTVAL (operands[4])) - 1);
if (rtx_equal_p (operands[0], operands[3])) if (reg_overlap_mentioned_p (operands[0], operands[3]))
{ {
if (!can_create_pseudo_p ()) if (!can_create_pseudo_p ())
FAIL; FAIL;
...@@ -3954,7 +3954,7 @@ ...@@ -3954,7 +3954,7 @@
(clobber (reg:CC CC_REGNUM))])] (clobber (reg:CC CC_REGNUM))])]
{ {
operands[5] = GEN_INT ((1UL << UINTVAL (operands[4])) - 1); operands[5] = GEN_INT ((1UL << UINTVAL (operands[4])) - 1);
if (rtx_equal_p (operands[0], operands[3])) if (reg_overlap_mentioned_p (operands[0], operands[3]))
{ {
if (!can_create_pseudo_p ()) if (!can_create_pseudo_p ())
FAIL; FAIL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment