[llvm] [AMDGPU] Set WMMA source-operand reuse bits in SIPreEmitPeephole (PR #204050)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 16 16:57:09 PDT 2026


================
@@ -28,10 +28,24 @@
 #include "llvm/CodeGen/MachinePostDominators.h"
 #include "llvm/CodeGen/TargetSchedule.h"
 #include "llvm/Support/BranchProbability.h"
+#include "llvm/Support/CommandLine.h"
 using namespace llvm;
 
 #define DEBUG_TYPE "si-pre-emit-peephole"
 
+static cl::opt<bool> EnableWMMAReuseBits(
----------------
shiltian wrote:

Do we need this to be an opt-out feature?

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


More information about the llvm-commits mailing list