[llvm] [VPlan] Expand VPWidenIntOrFpInductionRecipe into separate recipes (PR #118638)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 13 02:15:16 PST 2025
================
@@ -261,6 +261,14 @@ class VPBuilder {
FPBinOp ? FPBinOp->getFastMathFlags() : FastMathFlags()));
}
+ VPInstruction *createSplat(VPValue *Val) {
+ return tryInsertInstruction(new VPInstruction(VPInstruction::Splat, {Val}));
+ }
+
+ VPStepVectorRecipe *createStepVector(Type *Ty) {
----------------
fhahn wrote:
Yep I will follow-up to the comments in https://github.com/llvm/llvm-project/pull/119284 in the next few days.
https://github.com/llvm/llvm-project/pull/118638
More information about the llvm-commits
mailing list