[llvm] Attributor: Infer noalias.addrspace metadata for memory instructions (PR #136553)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 9 18:40:42 PDT 2025
================
@@ -12786,6 +12788,193 @@ struct AAAddressSpaceCallSiteArgument final : AAAddressSpaceImpl {
};
} // namespace
+/// ------------------------ No Alias Address Space ---------------------------
+// This attribute assumes flat address space can alias all other address space
----------------
shiltian wrote:
Honestly, I think this and AAAddressSpace's impl class can be merged such that one impl class can serve two AAs. Can you try and see that is feasible? I'd say 80% of the code is similar.
https://github.com/llvm/llvm-project/pull/136553
More information about the llvm-commits
mailing list