[clang] [llvm] [AMDGPU] Infer amdgpu-no-flat-scratch-init attribute in AMDGPUAttributor (PR #94647)
Jun Wang via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 7 14:03:43 PDT 2024
================
@@ -434,6 +434,15 @@ struct AAAMDAttributesFunction : public AAAMDAttributes {
indicatePessimisticFixpoint();
return;
}
+
+ for (Instruction &I : instructions(F)) {
+ if (isa<AddrSpaceCastInst>(I) &&
----------------
jwanggit86 wrote:
This test has been added.
https://github.com/llvm/llvm-project/pull/94647
More information about the cfe-commits
mailing list