[PATCH] D105262: [ARM] Use matchSimpleRecurrence to simplify some code in MVEGatherScatterLowering. NFCI
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 8 08:44:53 PDT 2021
craig.topper added a comment.
In D105262#2864583 <https://reviews.llvm.org/D105262#2864583>, @dmgreen wrote:
> Looks nice. Like a good cleanup.
>
> What made you look into the MVEGatherScatterLowering pass, out of interest?
I've been trying to apply some portions of it to RISCV vectors. So far just the code to push computations out of the loop. One interesting thing I noticed is that MVEGatherScatterLowering can't push shl by a constant splat out of a loop. That would be the canonical IR for a multiply by a constant power of 2 splat.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105262/new/
https://reviews.llvm.org/D105262
More information about the llvm-commits
mailing list