[llvm] [AMDGPU] Switch to MF.estimateFunctionSizeInBytes() (PR #127246)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 18 13:46:17 PST 2025


================
@@ -105,7 +105,7 @@ body:             |
 # CHECK: s_barrier                               ; encoding: [0x00,0x00,0x8a,0xbf]
 # CHECK: .p2align        5
 # CHECK: s_endpgm                                ; encoding: [0x00,0x00,0x81,0xbf]
-# CHECK: ; codeLenInByte = 36
+# CHECK: ; codeLenInByte = 64
----------------
rampitec wrote:

It is rebased. Now it shows how this method can largely overestimate code size.

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


More information about the llvm-commits mailing list