rs6000: Make offsettable_mem_operand use any_memory_operand
authorSegher Boessenkool <segher@kernel.crashing.org>
Sat, 20 Jul 2019 17:37:07 +0000 (19:37 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Sat, 20 Jul 2019 17:37:07 +0000 (19:37 +0200)
* config/rs6000/predicates.md (offsettable_mem_operand): Allow volatile
memory.

From-SVN: r273633

gcc/ChangeLog
gcc/config/rs6000/predicates.md

index 33a50fad8bcc0243530477b22a62fcea5c2618ce..3caaafe88f5b474da3214d780dd8da4ccc7bc2dd 100644 (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.
index 7c451df527dc1699910e02d71aeb31226495f43f..5a2d2d373be2c5911bb67645981b5392187e6ed8 100644 (file)
 
 ;; 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