[llvm] [clang] [AMDGPU] Emit a waitcnt instruction after each memory instruction (PR #79236)

Pierre van Houtryve via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 28 22:41:12 PST 2024


================
@@ -167,6 +167,10 @@ def FeatureCuMode : SubtargetFeature<"cumode",
   "Enable CU wavefront execution mode"
 >;
 
+def FeaturePreciseMemory
----------------
Pierre-vh wrote:

I'm not a fan of using a feature for this, I think we should have a backend CL option instead. After all this isn't an architecture feature but just a behavior change for SIMemoryLegalizer.


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


More information about the cfe-commits mailing list