[llvm-branch-commits] [llvm] [AMDGPU] Switch to MF.estimateFunctionSizeInBytes() (PR #127246)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Feb 16 04:33:08 PST 2025
================
@@ -8978,7 +8978,7 @@ unsigned SIInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const {
return getInlineAsmLength(AsmStr, *MF->getTarget().getMCAsmInfo(), &ST);
}
default:
- if (MI.isMetaInstruction())
+ if (MI.isMetaInstruction() || MI.isDebugInstr())
----------------
arsenm wrote:
I'd expect DescSize to be correct for debug insts
https://github.com/llvm/llvm-project/pull/127246
More information about the llvm-branch-commits
mailing list