[llvm] [MergeFuncs] Use sizeWithoutDebug to decide if we create a thunk (PR #68627)

Oskar Wirga via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 10 19:37:20 PDT 2023


oskarwirga wrote:

I modified the check from:
```
if (F->front().sizeWithoutDebug() <= 2) {
```
to:
```
if (F->front().sizeWithoutDebug() < 2) {
```
as internal testing has shown that it reduces binary size. 

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


More information about the llvm-commits mailing list