HomePhabricator

[AA] Cache (optionally) estimated PartialAlias offsets.

Authored by dfukalov on Dec 21 2020, 4:33 AM.

Description

[AA] Cache (optionally) estimated PartialAlias offsets.

For the cases of two clobbering loads and one loaded object is fully contained
in the second BasicAAResult::aliasGEP returns just PartialAlias that
is actually more common case of partial overlap, it doesn't say anything about
actual overlapping sizes.

AA users such as GVN and DSE have no functionality to estimate aliasing of GEPs
with non-constant offsets. The change stores estimated relative offsets so they
can be used further.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D93529

Details

Committed
dfukalovMar 2 2021, 8:04 AM
Reviewer
nikic
Differential Revision
D93529: [AA] Cache (optionally) estimated PartialAlias offsets.
Parents
rG1b6eb56aa0ea: Stop traping on sNaN in __builtin_isinf
Branches
Unknown
Tags
Unknown