[pushed,2/8] aarch64: Generalise vec_set predicate
Commit Message
The aarch64_simd_vec_set<mode> define_insn takes memory operands,
so this patch makes the vec_set<mode> optab expander do the same.
gcc/
* config/aarch64/aarch64-simd.md (vec_set<mode>): Allow the
element to be an aarch64_simd_nonimmediate_operand.
---
gcc/config/aarch64/aarch64-simd.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -1378,7 +1378,7 @@ (define_insn "vec_shr_<mode>"
(define_expand "vec_set<mode>"
[(match_operand:VALL_F16 0 "register_operand")
- (match_operand:<VEL> 1 "register_operand")
+ (match_operand:<VEL> 1 "aarch64_simd_nonimmediate_operand")
(match_operand:SI 2 "immediate_operand")]
"TARGET_SIMD"
{