[llvm-branch-commits] [llvm] [WIP][AMDGPU] Enable `AAAddressSpace` in `AMDGPUAttributor` (PR #101593)
Shilei Tian via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Aug 1 19:21:11 PDT 2024
================
@@ -1064,6 +1064,17 @@ static bool runImpl(Module &M, AnalysisGetter &AG, TargetMachine &TM) {
} else if (CC == CallingConv::AMDGPU_KERNEL) {
addPreloadKernArgHint(F, TM);
}
+
+ for (auto &I : instructions(F)) {
+ if (auto *LI = dyn_cast<LoadInst>(&I)) {
----------------
shiltian wrote:
`AAAddressSpace` for now only supports load and store instructions. Will add more later.
https://github.com/llvm/llvm-project/pull/101593
More information about the llvm-branch-commits
mailing list