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

It's only called once per run by the driver, yes

We already do this for wavefrontsize64, and pretty much all other options that 
aren't automatically handled. We even call `hasFlag` twice on the same option 
in some cases instead of saving the result somewhere, so I doubt `hasFlag` can 
be considered expensive enough to justify not dropping `amdgpu-` from the 
feature name

https://github.com/llvm/llvm-project/pull/79236
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to