[clang] [llvm] [AMDGPU] Emit a waitcnt instruction after each memory instruction (PR #79236)
    Jun Wang via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Feb 19 14:29:26 PST 2024
    
    
  
================
@@ -167,6 +167,10 @@ def FeatureCuMode : SubtargetFeature<"cumode",
   "Enable CU wavefront execution mode"
 >;
 
+def FeaturePreciseMemory
----------------
jwanggit86 wrote:
The function `hasFlag()` actually appears to be pretty expensive, and it's going to be called every time, regardless of whether the flag is used or not.
Let's get Matt's opinion on this. @arsenm What do you think?
https://github.com/llvm/llvm-project/pull/79236
    
    
More information about the llvm-commits
mailing list