[PATCH] D95826: [SROA] Propagate correct TBAA/TBAA Struct offsets
Jeroen Dobbelaere via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 2 13:03:48 PST 2021
jeroen.dobbelaere added inline comments.
================
Comment at: llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp:782
+ // Don't include any triples that aren't in bounds
+ if (InnerOffset->getZExtValue() < Offset)
+ continue;
----------------
What if the offset is inside the specified region instead of at the boundary ? Shouldn't we keep that with a 0 offset and adapted size ? Although keeping it is not strictly necessary, but then we will loose some tbaa information.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95826/new/
https://reviews.llvm.org/D95826
More information about the llvm-commits
mailing list