diff options
author | Ellis Hoag <ellis.sparky.hoag@gmail.com> | 2024-11-18 09:16:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-18 09:16:09 -0800 |
commit | c9260e21d092c3acbb77bb9f6fcd0820f6a138c1 (patch) | |
tree | 19c5ab41d5c14c603b19fc74867e796568ff3c98 /llvm/lib/Object/ELFObjectFile.cpp | |
parent | 2444b6f0df56d2aeb0ae6dce946443b23a3a9d3b (diff) | |
download | llvm-c9260e21d092c3acbb77bb9f6fcd0820f6a138c1.zip llvm-c9260e21d092c3acbb77bb9f6fcd0820f6a138c1.tar.gz llvm-c9260e21d092c3acbb77bb9f6fcd0820f6a138c1.tar.bz2 |
[CodeLayout] Do not rebuild chains with -apply-ext-tsp-for-size (#115934)
https://github.com/llvm/llvm-project/pull/109711 disables
`buildCFGChains()` when `-apply-ext-tsp-for-size` is used to improve
codesize. Tail merging can change the layout and normally requires
`buildCFGChains()` to be called again, but we want to prevent this when
optimizing for codesize. We saw slight size improvement on large
binaries with this change. If `-apply-ext-tsp-for-size` is not used,
this should be a NFC.
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions