rs6000: Make input_operand use any_memory_operand

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

From-SVN: r273632
This commit is contained in:
Segher Boessenkool 2019-07-20 19:35:04 +02:00 committed by Segher Boessenkool
parent 45986ed939
commit 4f5ddf2708
2 changed files with 5 additions and 1 deletions

View file

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

View file

@ -1031,7 +1031,7 @@
const_double,const_wide_int,const_vector,const_int")
{
/* Memory is always valid. */
if (memory_operand (op, mode))
if (any_memory_operand (op, mode))
return 1;
/* For floating-point, easy constants are valid. */