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

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jun 18 22:41:19 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
----------------
arsenm wrote:

The name is already generic enough, the comment states what the only real uses are 

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


More information about the llvm-branch-commits mailing list