[llvm] [RISCV] Allow non-loop invariant steps in RISCVGatherScatterLowering (PR #122244)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 15 02:32:05 PST 2025
================
@@ -311,18 +307,31 @@ bool RISCVGatherScatterLowering::matchStridedRecurrence(Value *Index, Loop *L,
}
case Instruction::Mul: {
Start = Builder.CreateMul(Start, SplatOp, "start");
- Step = Builder.CreateMul(Step, SplatOp, "step");
----------------
lukel97 wrote:
Good catch. It looks like matchStridedStart doesn't set the IR names though and I don't want to introduce more potential diff, so I've left a todo to revisit this
https://github.com/llvm/llvm-project/pull/122244
More information about the llvm-commits
mailing list