[llvm] [AMDGPU] Fixed crash due to virtual register defs not dominating uses (PR #198472)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed May 20 00:02:10 PDT 2026
================
@@ -44,6 +45,12 @@ using namespace llvm;
DEBUG_COUNTER(RewriteAGPRCopyMFMACounter, DEBUG_TYPE,
"Controls which MFMA chains are rewritten to AGPR form");
+static cl::opt<unsigned> ImplicitDefScanLimit(
+ "amdgpu-mfma-vgpr-to-agpr-spill-scan-limit", cl::Hidden, cl::init(4),
----------------
arsenm wrote:
As a general rule do not add cl::opts
https://github.com/llvm/llvm-project/pull/198472
More information about the llvm-commits
mailing list