[llvm] Attributor: Add noalias.addrspace attribute for store and load (PR #136553)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 21 20:41:50 PDT 2025
================
@@ -1372,7 +1372,7 @@ static bool runImpl(Module &M, AnalysisGetter &AG, TargetMachine &TM,
LLVM_DEBUG(dbgs() << "[AMDGPUAttributor] Module " << M.getName() << " is "
<< (AC.IsClosedWorldModule ? "" : "not ")
<< "assumed to be a closed world.\n");
-
+ uint32_t AddrSpaceMask = (1 << (AMDGPUAS::MAX_AMDGPU_ADDRESS + 1)) - 1;
----------------
shiltian wrote:
`constexpr const`?
https://github.com/llvm/llvm-project/pull/136553
More information about the llvm-commits
mailing list