[llvm] [VPlan] Expand VPWidenIntOrFpInductionRecipe into separate recipes (PR #118638)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Thu May 8 09:24:39 PDT 2025
================
@@ -1086,15 +1087,14 @@ void VPInstruction::print(raw_ostream &O, const Twine &Indent,
void VPInstructionWithType::execute(VPTransformState &State) {
State.setDebugLocFrom(getDebugLoc());
- switch (getOpcode()) {
- case Instruction::ZExt:
- case Instruction::Trunc: {
+ if (isScalarCast()) {
----------------
lukel97 wrote:
Needed because one of the recipes expanded to is Instruction::UIToFP. Happy to split this off to an NFC if wanted.
https://github.com/llvm/llvm-project/pull/118638
More information about the llvm-commits
mailing list