[llvm] [AArch64][SVE] Add dot product lowering for PARTIAL_REDUCE_MLA node (PR #130933)
Benjamin Maxwell via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 26 09:52:45 PDT 2025
================
@@ -1585,6 +1585,26 @@ AArch64TargetLowering::AArch64TargetLowering(const TargetMachine &TM,
setOperationAction(ISD::MSTORE, VT, Custom);
}
+ if (EnablePartialReduceNodes) {
+ for (MVT VT : MVT::integer_scalable_vector_valuetypes()) {
+ for (MVT InnerVT : MVT::integer_scalable_vector_valuetypes()) {
----------------
MacDue wrote:
I think you should be able to do:
```c++
auto IntegerVectorVTs = concat<MVT>(MVT::integer_scalable_vector_valuetypes(),
MVT::integer_fixedlen_vector_valuetypes());
for (MVT VT : IntegerVectorVTs) {
for (MVT InnerVT : IntegerVectorVTs) {
// ...
}
}
```
to resolve the errors
https://github.com/llvm/llvm-project/pull/130933
More information about the llvm-commits
mailing list