[all-commits] [llvm/llvm-project] 1ed7f8: [LAA] Support pointer phis in loop by analyzing ea...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Wed Apr 28 12:20:31 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1ed7f8ede564c3b11da4fdca30c36ccbff422576
https://github.com/llvm/llvm-project/commit/1ed7f8ede564c3b11da4fdca30c36ccbff422576
Author: Florian Hahn <flo at fhahn.com>
Date: 2021-04-28 (Wed, 28 Apr 2021)
Changed paths:
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/test/Analysis/LoopAccessAnalysis/pointer-phis.ll
M llvm/test/Transforms/LoopVectorize/vectorize-pointer-phis.ll
Log Message:
-----------
[LAA] Support pointer phis in loop by analyzing each incoming pointer.
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.
Reviewed By: Meinersbur
Differential Revision: https://reviews.llvm.org/D101286
More information about the All-commits
mailing list