[PATCH 3/4] rs6000: Make input_operand use any_memory_operand

Segher Boessenkool segher@kernel.crashing.org
Sat Jul 20 17:30:00 GMT 2019


2019-07-20  Segher Boessenkool  <segher@kernel.crashing.org>

	* config/rs6000/predicates.md (input_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 23d626b..7c451df 100644
--- a/gcc/config/rs6000/predicates.md
+++ b/gcc/config/rs6000/predicates.md
@@ -1031,7 +1031,7 @@ (define_predicate "input_operand"
 	       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.  */
-- 
1.8.3.1



More information about the Gcc-patches mailing list