diff options
author | Oskar Wirga <10386631+oskarwirga@users.noreply.github.com> | 2023-10-11 17:32:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-11 17:32:41 -0700 |
commit | b48450c2094fa48d3d968536876fa684eb21f330 (patch) | |
tree | 87404e795d2b11e4235d9fc10fc90c018f70fb8e /llvm/lib/CodeGen/BasicBlockSections.cpp | |
parent | b6043f98673e33f17564dd240be3878c61e22333 (diff) | |
download | llvm-b48450c2094fa48d3d968536876fa684eb21f330.zip llvm-b48450c2094fa48d3d968536876fa684eb21f330.tar.gz llvm-b48450c2094fa48d3d968536876fa684eb21f330.tar.bz2 |
[MergeFuncs] Use sizeWithoutDebug to decide if we create a thunk (#68627)
I noticed that when we determine the size of the function to figure out
if its profitable, we include debug instructions which can end up making
larger functions than necessary.
Diffstat (limited to 'llvm/lib/CodeGen/BasicBlockSections.cpp')
0 files changed, 0 insertions, 0 deletions