[llvm] [CodeGen] IMPLICIT_DEF must not contribute to Weight in LICM register cost computation (PR #196500)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 7 23:20:21 PDT 2026
================
@@ -969,6 +969,11 @@ MachineLICMImpl::calcRegisterCost(const MachineInstr *MI, bool ConsiderSeen,
if (MO.isDef())
RCCost = W.RegWeight;
else {
----------------
pratikashar wrote:
@arsenm - Does this explanation clarify the intent of this patch?
https://github.com/llvm/llvm-project/pull/196500
More information about the llvm-commits
mailing list