diff mbox

rs6000: Remove now unused predicate update_indexed_address_mem

Message ID 6b3b8cb93d3a3b8c89c410e636c0bec7bd6d41e6.1400687183.git.segher@kernel.crashing.org
State New
Headers show

Commit Message

Segher Boessenkool May 21, 2014, 3:55 p.m. UTC
My previous patch left this hanging around.  Tested as usual; okay
to apply?


Segher


2014-05-21  Segher Boessenkool  <segher@kernel.crashing.org>

gcc/
	* config/rs6000/predicates.md (update_indexed_address_mem): Delete.

---
 gcc/config/rs6000/predicates.md | 8 --------
 1 file changed, 8 deletions(-)

Comments

David Edelsohn May 21, 2014, 5:15 p.m. UTC | #1
On Wed, May 21, 2014 at 11:55 AM, Segher Boessenkool
<segher@kernel.crashing.org> wrote:
> My previous patch left this hanging around.  Tested as usual; okay
> to apply?
>
>
> Segher
>
>
> 2014-05-21  Segher Boessenkool  <segher@kernel.crashing.org>
>
> gcc/
>         * config/rs6000/predicates.md (update_indexed_address_mem): Delete.

Okay.

Thanks, David
diff mbox

Patch

diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md
index 382fefa..f538b42 100644
--- a/gcc/config/rs6000/predicates.md
+++ b/gcc/config/rs6000/predicates.md
@@ -743,14 +743,6 @@  (define_special_predicate "update_address_mem"
 		    || GET_CODE (XEXP (op, 0)) == PRE_DEC
 		    || GET_CODE (XEXP (op, 0)) == PRE_MODIFY))"))
 
-;; Return 1 if the operand is a MEM with an update-indexed-form address. Note
-;; that PRE_INC/PRE_DEC will always be non-indexed (i.e. non X-form) since the
-;; increment is based on the mode size and will therefor always be a const.
-(define_special_predicate "update_indexed_address_mem"
-  (match_test "(MEM_P (op)
-		&& GET_CODE (XEXP (op, 0)) == PRE_MODIFY
-		&& indexed_address (XEXP (XEXP (op, 0), 1), mode))"))
-
 ;; Return 1 if the operand is a MEM with an indexed-form address.
 (define_special_predicate "indexed_address_mem"
   (match_test "(MEM_P (op)