================
@@ -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.
----------------
jhuber6 wrote:
I figured this would just show up as an LLVM `+xnack` attribute or something.
https://github.com/llvm/llvm-project/pull/212955
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits