================
@@ -9921,7 +9921,7 @@ SDValue 
RISCVTargetLowering::lowerPARTIAL_REDUCE_MLA(SDValue Op,
 
     MVT NarrowVT = VT.changeVectorElementType(MVT::i32);
     if (VT.isScalableVector() &&
-        RISCVTargetLowering::getLMUL(NarrowVT) == RISCVVType::LMUL_1) {
+        RISCVTargetLowering::getLMUL(NarrowVT) > RISCVVType::LMUL_RESERVED) {
----------------
topperc wrote:

We should not be using LMUL_RESERVED like this. I had to look up what value it 
is. Is this trying to exclude fractional LMULs? Use decodeVLMUL and check the 
fractional flag?

https://github.com/llvm/llvm-project/pull/215517
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to