The gather scatter lowering pass can fold multiplies of a step vector
into the stride for the recursive case, so this extends it for the
non-recursive case.
The logic can probably be shared between the two at some point to extend
it to shls and ors.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp | ||
---|---|---|
177 | Add curly braces for consistency with the Mul case. |
Add curly braces for consistency with the Mul case.