rs6000: Make offsettable_mem_operand use any_memory_operand

* config/rs6000/predicates.md (offsettable_mem_operand): Allow volatile
	memory.

From-SVN: r273633
This commit is contained in:
Segher Boessenkool 2019-07-20 19:37:07 +02:00 committed by Segher Boessenkool
parent 4f5ddf2708
commit 925763576e
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2019-07-20 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/predicates.md (offsettable_mem_operand): Allow volatile
memory.
2019-07-20 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/predicates.md (input_operand): Allow volatile memory.

View file

@ -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