[clang] [llvm] [AMDGPU] Infer amdgpu-no-flat-scratch-init attribute in AMDGPUAttributor (PR #94647)

Shilei Tian via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 29 07:54:25 PDT 2024


================
@@ -439,6 +451,36 @@ struct AAAMDAttributesFunction : public AAAMDAttributes {
       indicatePessimisticFixpoint();
       return;
     }
+
+    { // FLAT_SCRATCH_INIT
----------------
shiltian wrote:

This is misuse of `initialize`. This code should go to `updateImpl` of the corresponding AA.

https://github.com/llvm/llvm-project/pull/94647


More information about the cfe-commits mailing list