* [Committed] S/390: Replace rtx_equal_p with reg_overlap_mentioned_p in splitter check.
@ 2016-05-27 13:24 Andreas Krebbel
0 siblings, 0 replies; only message in thread
From: Andreas Krebbel @ 2016-05-27 13:24 UTC (permalink / raw)
To: gcc-patches
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.
---
gcc/ChangeLog | 5 +++++
gcc/config/s390/s390.md | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fd03e8c..ab4e9e8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+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 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/aarch64/aarch64-modes.def (CC_ZESWP, CC_SESWP): Delete.
diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md
index caf8ed5..f8c61a8 100644
--- a/gcc/config/s390/s390.md
+++ b/gcc/config/s390/s390.md
@@ -3926,7 +3926,7 @@
(ashift:GPR (match_dup 3) (match_dup 4))))]
{
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 ())
FAIL;
@@ -3954,7 +3954,7 @@
(clobber (reg:CC CC_REGNUM))])]
{
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 ())
FAIL;
--
1.9.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-05-27 12:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-27 13:24 [Committed] S/390: Replace rtx_equal_p with reg_overlap_mentioned_p in splitter check Andreas Krebbel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).