[llvm] [AMDGPU] Account for inline asm size in inst_pref_size calculation (PR #192306)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon May 4 13:53:41 PDT 2026


================
@@ -232,6 +232,9 @@ inline raw_ostream &operator<<(raw_ostream &OS,
   return OS;
 }
 
+/// \returns Instruction cache line size in bytes for given subtarget \p STI.
+unsigned getInstCacheLineSize(const MCSubtargetInfo *STI);
----------------
arsenm wrote:

This can be const ref (we should fix the others for consistency too)

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


More information about the llvm-commits mailing list