[llvm] Attributor: Infer noalias.addrspace metadata for memory instructions (PR #136553)
    Shilei Tian via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Jun 20 08:23:55 PDT 2025
    
    
  
================
@@ -12786,6 +12788,197 @@ struct AAAddressSpaceCallSiteArgument final : AAAddressSpaceImpl {
 };
 } // namespace
 
+/// ------------------------ No Alias Address Space  ---------------------------
+// This attribute assumes flat address space can alias all other address space
+
+// TODO: this is similar to AAAddressSpace, most of the code should be merged.
+// But merging it created failing cased on gateway test that cannot be
+// reproduced locally. So should open a seperated PR to hande the merge of
----------------
shiltian wrote:
I think you might want to enable all targets when building LLVM because some AA related test cases are for NVPTX as well, and if you don't have that in your build, you would probably not see it locally.
https://github.com/llvm/llvm-project/pull/136553
    
    
More information about the llvm-commits
mailing list