[PATCH] D108699: [LAA] Analyze pointers forked by a select
Graham Hunter via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 8 02:09:42 PST 2022
huntergr updated this revision to Diff 406734.
huntergr marked an inline comment as done.
huntergr set the repository for this revision to rG LLVM Github Monorepo.
huntergr added a comment.
Rebased and changed to use @fhahn 's lighter-weight approach from D114487 <https://reviews.llvm.org/D114487> combined with my recursive function to find the SCEVs. Although the simplified tests are handled with a couple levels of checking, the real applications I was working on had additional operations between the ptr value for the load or store and a select.
It might be best to introduce a limit to recursion though, any thoughts?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108699/new/
https://reviews.llvm.org/D108699
Files:
llvm/include/llvm/Analysis/LoopAccessAnalysis.h
llvm/lib/Analysis/LoopAccessAnalysis.cpp
llvm/test/Analysis/LoopAccessAnalysis/forked-pointers.ll
llvm/test/Transforms/LoopVectorize/forked-pointers.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108699.406734.patch
Type: text/x-patch
Size: 38414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220208/5add3fdc/attachment-0001.bin>
More information about the llvm-commits
mailing list