[llvm-branch-commits] [clang] [llvm] AMDGPU: Use module flags to control xnack and sramecc (PR #204595)

Shilei Tian via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jun 18 20:15:59 PDT 2026


================
@@ -92,6 +92,22 @@ class TargetOptions {
   /// \brief AMDGPU Printf lowering scheme
   AMDGPUPrintfKind AMDGPUPrintfKindVal = AMDGPUPrintfKind::Hostcall;
 
+  /// \brief Enumeration values for AMDGPU xnack/sramecc settings
----------------
shiltian wrote:

I'd guess from the class name that this isn't intended to be specific to XNACK/SRAMECC, so the documentation here could be more generic.

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


More information about the llvm-branch-commits mailing list