[all-commits] [llvm/llvm-project] 5f05ff: [BasicAA] Improve scalable vector handling
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Oct 14 11:24:07 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5f05ff081f391fd482e3a5c3ea9f191c6961c42e
https://github.com/llvm/llvm-project/commit/5f05ff081f391fd482e3a5c3ea9f191c6961c42e
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)
Changed paths:
M llvm/lib/Analysis/BasicAliasAnalysis.cpp
M llvm/test/Analysis/BasicAA/vscale.ll
Log Message:
-----------
[BasicAA] Improve scalable vector handling
Currently, DecomposeGEP() bails out on the whole decomposition if
it encounters a scalable GEP type anywhere. However, it is fine to
still analyze other GEPs that we look through before hitting the
scalable GEP. This does mean that the decomposed GEP base is no
longer required to be the same as the underlying object. However,
I don't believe this property is necessary for correctness anymore.
This allows us to compute slightly more precise aliasing results
for GEP chains containing scalable vectors, though my primary
interest here is simplifying the code.
Differential Revision: https://reviews.llvm.org/D110511
More information about the All-commits
mailing list