[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
Thu Oct 31 07:29:15 PDT 2024


================
@@ -262,6 +262,18 @@ class AMDGPUInformationCache : public InformationCache {
     return !HasAperture && (Access & ADDR_SPACE_CAST);
   }
 
+  bool constHasASCastFromPrivate(const Constant *C, Function &Fn) {
----------------
shiltian wrote:

nit: function starts with a verb

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


More information about the cfe-commits mailing list