[llvm] [AMDGPU] Correctly merge noalias scopes during lowering of LDS data. (PR #131664)
Sirish Pande via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 10 11:03:52 PDT 2025
================
@@ -114,17 +114,26 @@ static void collectMDInDomain(const MDNode *List, const MDNode *Domain,
Nodes.insert(MD);
}
+/// Collect the set of scoped domains relevant to the noalias scopes.
+void ScopedNoAliasAAResult::collectScopedDomains(
+ const MDNode *NoAlias, SmallPtrSetImpl<const MDNode *> &Domains) const {
+ if (!NoAlias)
+ return;
----------------
srpande wrote:
NoAlias is checked as a null check in line 131. Changing this here would require to change multiple other places unrelated to this patch.
https://github.com/llvm/llvm-project/pull/131664
More information about the llvm-commits
mailing list