[PATCH] D101286: [LAA] Support pointer phis in loop by analyzing each incoming pointer.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 26 05:34:43 PDT 2021
fhahn created this revision.
fhahn added reviewers: Ayal, anemet, hfinkel, Meinersbur.
Herald added subscribers: javed.absar, hiraditya.
fhahn requested review of this revision.
Herald added a project: LLVM.
SCEV does not look through non-header PHIs inside the loop. Such phis
can be analyzed by adding separate accesses for each incoming pointer
value.
This results in 2 more loops vectorized in SPEC2000/186.crafty and
avoids regressions when sinking instructions before vectorizing.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D101286
Files:
llvm/lib/Analysis/LoopAccessAnalysis.cpp
llvm/test/Analysis/LoopAccessAnalysis/pointer-phis.ll
llvm/test/Transforms/LoopVectorize/vectorize-pointer-phis.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101286.340491.patch
Type: text/x-patch
Size: 4900 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210426/e074ebbc/attachment.bin>
More information about the llvm-commits
mailing list