[PATCH 4/4] rs6000: Make offsettable_mem_operand use any_memory_operand
Segher Boessenkool
segher@kernel.crashing.org
Sat Jul 20 17:19:00 GMT 2019
2019-07-20 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/predicates.md (offsettable_mem_operand): Allow volatile
memory.
---
gcc/config/rs6000/predicates.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md
index 7c451df..5a2d2d3 100644
--- a/gcc/config/rs6000/predicates.md
+++ b/gcc/config/rs6000/predicates.md
@@ -716,7 +716,7 @@ (define_predicate "any_memory_operand"
;; 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
--
1.8.3.1
More information about the Gcc-patches
mailing list