rs6000: New predicate any_memory_operand
authorSegher Boessenkool <segher@kernel.crashing.org>
Sat, 20 Jul 2019 17:28:37 +0000 (19:28 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Sat, 20 Jul 2019 17:28:37 +0000 (19:28 +0200)
commit5744faa9851c86d018f32de7363b1064d5348d26
treea3dcfae9ff95828f8da328596b4908ad3ef007e4
parent4b3df2657401475f94a7fc60e4e7f8ed6bbe2610
rs6000: New predicate any_memory_operand

The new predicate accepts both memory_operand and volatile_mem_operand.

* config/rs6000/predicates.md (volatile_mem_operand): Modernize syntax.
(any_memory_operand): New predicate.
(reg_or_mem_operand): Use it.

From-SVN: r273630
gcc/ChangeLog
gcc/config/rs6000/predicates.md