[llvm] [polly] [AST] Don't merge memory locations in AliasSetTracker (PR #65731)
Bruno De Fraine via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 22 13:51:24 PST 2023
================
@@ -1140,10 +1141,11 @@ bool AccessAnalysis::canCheckPtrAtRT(RuntimePointerChecking &RtCheck,
// or a single write and no reads.
if (NumWritePtrChecks == 0 ||
(NumWritePtrChecks == 1 && NumReadPtrChecks == 0)) {
- assert((AS.size() <= 1 ||
- all_of(AS,
- [this](auto AC) {
- MemAccessInfo AccessWrite(AC.getValue(), true);
+ assert((ASPointers.size() <= 1 ||
+ all_of(ASPointers,
+ [this](auto Ptr) {
----------------
brunodf-snps wrote:
Fixed in commit efc787bc5d61.
https://github.com/llvm/llvm-project/pull/65731
More information about the llvm-commits
mailing list