================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to