]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rs6000: Add const_vector into any_operand predicate
authorHaochen Gui <guihaoc@gcc.gnu.org>
Tue, 6 Aug 2024 06:15:05 +0000 (14:15 +0800)
committerHaochen Gui <guihaoc@gcc.gnu.org>
Tue, 6 Aug 2024 06:16:15 +0000 (14:16 +0800)
gcc/
* config/rs6000/predicates.md (any_operand): Add const_vector.

gcc/config/rs6000/predicates.md

index d23ce9a77a3fefb474a37982ed099940c13d5143..cdfd400f63955f29c63512dd3eb7be7701973ea5 100644 (file)
@@ -19,7 +19,7 @@
 
 ;; Return 1 for anything except PARALLEL.
 (define_predicate "any_operand"
-  (match_code "const_int,const_double,const_wide_int,const,symbol_ref,label_ref,subreg,reg,mem"))
+  (match_code "const_int,const_double,const_wide_int,const_vector,const,symbol_ref,label_ref,subreg,reg,mem"))
 
 ;; Return 1 for any PARALLEL.
 (define_predicate "any_parallel_operand"