From 4f5ddf27080251b223106346c95b3edf0fee2c52 Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Sat, 20 Jul 2019 19:35:04 +0200 Subject: [PATCH] rs6000: Make input_operand use any_memory_operand * config/rs6000/predicates.md (input_operand): Allow volatile memory. From-SVN: r273632 --- gcc/ChangeLog | 4 ++++ gcc/config/rs6000/predicates.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 459c869796c..33a50fad8bc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-07-20 Segher Boessenkool + + * config/rs6000/predicates.md (input_operand): Allow volatile memory. + 2019-07-20 Segher Boessenkool * config/rs6000/predicates.md (lwa_operand): Allow volatile memory. diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md index 23d626bc0c4..7c451df527d 100644 --- a/gcc/config/rs6000/predicates.md +++ b/gcc/config/rs6000/predicates.md @@ -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. */ -- 2.30.2