[llvm] [llvm-mca] Teach MCA constant registers do not create dependencies (PR #89387)
Michael Maitland via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 30 08:46:23 PDT 2024
================
@@ -749,7 +759,7 @@ InstrBuilder::createInstruction(const MCInst &MCI,
RegID = WD.isImplicitWrite() ? WD.RegisterID
: MCI.getOperand(WD.OpIndex).getReg();
// Check if this is a optional definition that references NoReg.
----------------
michaelmaitland wrote:
nit: update comment?
maybe to `Check if this is a optional definition that references NoReg or writes to a constant register`
https://github.com/llvm/llvm-project/pull/89387
More information about the llvm-commits
mailing list