[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
Mon Feb 5 23:51:09 PST 2024


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

Understood :) 
Can you remove the `amdgpu` prefix from the option? All target features are already specific to AMDGPU, e.g. xnack, sramecc, etc. so you can just use something like `precise-memory`

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


More information about the cfe-commits mailing list