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

As it is, we have a clang command-line option "-mamdgpu-precise-memory-op". 
When specified, "+amdgpu-precise-memory-op" would be passed to the backend as a 
target feature. So if the backend uses a different name for this feature, e.g., 
dropping the 'amdgpu' prefix as you suggested, the target feature passed by 
clang will be considered invalid and silently ignored.

In short, my understanding is that if the prefix is dropped in the backend (in 
`AMDGPU.td`), then the clang command-line option also has to drop it. If you 
know how to keep it in clang but drop it in the backend, pls let me know.


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