================
@@ -670,6 +671,22 @@ void amdgpu::getAMDGPUTargetFeatures(const Driver &D,
options::OPT_mno_amdgpu_precise_memory_op, false))
Features.push_back("+precise-memory");
+ // When assembling, the xnack/sramecc mode cannot come from a module flag
+ // (there is no module), so forward it to the assembler as a feature.
----------------
arsenm wrote:
it's a target-feature, not an attribute. And the point is I'm trying to delete
the target feature
https://github.com/llvm/llvm-project/pull/212955
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits