[llvm] [llvm-mca] Teach MCA constant registers do not create dependencies (PR #89387)

Rin Dobrescu via llvm-commits llvm-commits at lists.llvm.org
Wed May 1 02:38:14 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.
----------------
Rin18 wrote:

Good point, updated the comment.

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


More information about the llvm-commits mailing list