aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/BasicBlockSections.cpp
diff options
context:
space:
mode:
authorOskar Wirga <10386631+oskarwirga@users.noreply.github.com>2023-10-11 17:32:41 -0700
committerGitHub <noreply@github.com>2023-10-11 17:32:41 -0700
commitb48450c2094fa48d3d968536876fa684eb21f330 (patch)
tree87404e795d2b11e4235d9fc10fc90c018f70fb8e /llvm/lib/CodeGen/BasicBlockSections.cpp
parentb6043f98673e33f17564dd240be3878c61e22333 (diff)
downloadllvm-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