[polly] [AST] Don't merge memory locations in AliasSetTracker (PR #65731)
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 9 13:15:55 PDT 2023
================
@@ -639,7 +639,8 @@ bool ReportNonSimpleMemoryAccess::classof(const RejectReason *RR) {
ReportAlias::ReportAlias(Instruction *Inst, AliasSet &AS)
: RejectReason(RejectReasonKind::Alias), Inst(Inst) {
for (const auto &I : AS)
- Pointers.push_back(I.getValue());
+ if (!llvm::is_contained(Pointers, I.Ptr))
+ Pointers.push_back(I.Ptr);
----------------
jdoerfert wrote:
SetVector again.
https://github.com/llvm/llvm-project/pull/65731
More information about the llvm-commits
mailing list