From 3168e073cbed6698c035fd16abd2fc8d59e4bec8 Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Fri, 27 May 2016 12:05:59 +0000 Subject: [PATCH] S/390: Replace rtx_equal_p with reg_overlap_mentioned_p in splitter check. gcc/ChangeLog: 2016-05-27 Andreas Krebbel * config/s390/s390.md (2x risbg splitters): Use reg_overlap_mentioned_p instead of rtx_equal_p. From-SVN: r236814 --- 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 59aa6d1f09a..67a20e9eeec 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-05-27 Andreas Krebbel + + * config/s390/s390.md (2x risbg splitters): Use + reg_overlap_mentioned_p instead of rtx_equal_p. + 2016-05-27 Dominik Vogt * combine.c (make_compound_operation): Take known zero bits into diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md index caf8ed558c3..f8c61a8fd06 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; -- 2.30.2