diff options
author | Ellis Hoag <ellis.sparky.hoag@gmail.com> | 2024-11-12 09:53:27 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-12 09:53:27 -0800 |
commit | 57c33acac8c74eb071ede35d819918d8bd00e45b (patch) | |
tree | 0f67c80ba01ea0a69f9f347cfc1faa4ed5eaec25 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | b8d6659bff25458693c99a7c53372afcf6d66d7d (diff) | |
download | llvm-57c33acac8c74eb071ede35d819918d8bd00e45b.zip llvm-57c33acac8c74eb071ede35d819918d8bd00e45b.tar.gz llvm-57c33acac8c74eb071ede35d819918d8bd00e45b.tar.bz2 |
[MachineSink] Sink into consistent blocks for optsize funcs (#115367)
Do not consider profile data when choosing a successor block to sink
into for optsize functions. This should result in more consistent
instruction sequences which will improve outlining and ICF. We've
observed a slight codesize improvement in a large binary. This is
similar reasoning to https://github.com/llvm/llvm-project/pull/114607.
Using profile data to select a block to sink into was original added in
https://github.com/llvm/llvm-project/commit/d04f7596e79d7c5cf7e4249ad62690afaecd01ec.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions