From 925763576e83e69d25edc890bc6e62fa5f99d466 Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Sat, 20 Jul 2019 19:37:07 +0200 Subject: [PATCH] rs6000: Make offsettable_mem_operand use any_memory_operand * config/rs6000/predicates.md (offsettable_mem_operand): Allow volatile memory. From-SVN: r273633 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/predicates.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 33a50fad8bc..3caaafe88f5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-07-20 Segher Boessenkool + + * config/rs6000/predicates.md (offsettable_mem_operand): Allow volatile + memory. + 2019-07-20 Segher Boessenkool * config/rs6000/predicates.md (input_operand): Allow volatile memory. diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md index 7c451df527d..5a2d2d373be 100644 --- a/gcc/config/rs6000/predicates.md +++ b/gcc/config/rs6000/predicates.md @@ -716,7 +716,7 @@ ;; Return 1 if the operand is an offsettable memory operand. (define_predicate "offsettable_mem_operand" - (and (match_operand 0 "memory_operand") + (and (match_operand 0 "any_memory_operand") (match_test "offsettable_nonstrict_memref_p (op)"))) ;; Return 1 if the operand is a simple offsettable memory operand -- 2.30.2