[llvm] [AMDGPU] Set inst_pref_size to maximum (PR #126981)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 12 20:45:50 PST 2025


================
@@ -199,3 +201,28 @@ const MCExpr *SIProgramInfo::getPGMRSrc2(CallingConv::ID CC,
 
   return MCConstantExpr::create(0, Ctx);
 }
+
+uint64_t SIProgramInfo::getFunctionCodeSize(const MachineFunction &MF) {
----------------
arsenm wrote:

This function isn't even correct. We really should fix this to emit the MC resolved code size. Can we do that now? 

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


More information about the llvm-commits mailing list