[llvm] [VPlan] Add opcode to create step for wide inductions. (PR #119284)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 16 12:55:45 PST 2024


================
@@ -661,7 +661,8 @@ bool VPInstruction::isFPMathOp() const {
   return Opcode == Instruction::FAdd || Opcode == Instruction::FMul ||
          Opcode == Instruction::FNeg || Opcode == Instruction::FSub ||
          Opcode == Instruction::FDiv || Opcode == Instruction::FRem ||
-         Opcode == Instruction::FCmp || Opcode == Instruction::Select;
+         Opcode == Instruction::FCmp || Opcode == Instruction::Select ||
+         Opcode == VPInstruction::WideIVStep;
----------------
fhahn wrote:

Yes, but that should be the same as for selects I think

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


More information about the llvm-commits mailing list