[llvm] [LV][EVL] Support cast instruction with EVL-vectorization (PR #108351)

via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 26 22:17:16 PDT 2024


================
@@ -148,6 +148,9 @@ bool VPlanVerifier::verifyEVLRecipe(const VPInstruction &EVL) const {
                return VerifyEVLUse(
                    *W, Instruction::isUnaryOp(W->getOpcode()) ? 1 : 2);
              })
+             .Case<VPWidenCastEVLRecipe>([&](const VPWidenCastEVLRecipe *C) {
+               return VerifyEVLUse(*C, 1);
+             })
----------------
LiqinWeng wrote:

done

https://github.com/llvm/llvm-project/pull/108351


More information about the llvm-commits mailing list