[llvm] [VPlan] Use DerivedIV in convertToStridedAccesses (PR #209611)

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 23 06:58:34 PDT 2026


================
@@ -2559,6 +2565,10 @@ bool VPIRFlags::flagsValidForOpcode(unsigned Opcode) const {
     return Opcode == Instruction::FCmp || Opcode == Instruction::ICmp;
   case OperationType::ReductionOp:
     return Opcode == VPInstruction::ComputeReductionResult;
+  case OperationType::BinOpGEP:
+    return Opcode == Instruction::GetElementPtr || Opcode == Instruction::Add ||
----------------
Mel-Chen wrote:

Do we need to check VPInstruction::PtrAdd here?

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


More information about the llvm-commits mailing list