[llvm] [LoadStoreVectorizer] Postprocess and merge equivalence classes (PR #114501)
Vyacheslav Klochkov via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 3 20:02:42 PST 2024
v-klochkov wrote:
> > Can you add a case that's more representative? You can try llvm-reduce to get a sample
>
> @arsenm - Matt - Please take a look at 1 extra LIT case here: [7b07f8c](https://github.com/llvm/llvm-project/commit/7b07f8cf1e9ad1345bcc97fe9c99d1bb7590d819)
>
> llvm-reduce is a great tool, I played with it; In this case though, it turned out to be easier to copy the interesting STOREs operations and minimally re-build missing IRs around them to show the idea of the context the STOREs in the original workload were placed into. It is easy to get underlying objects that 1 indirection level apart from each other when the 1st store in a sequence is a store indexed by `index` and consequent stores indexed by `index` + `some_const`, which gives extra depth/level created by getelementptr `index + some_const`.
@arsenm - Greetings, this is just a reminder/ping message. Thank you!
https://github.com/llvm/llvm-project/pull/114501
More information about the llvm-commits
mailing list