diff options
author | Ellis Hoag <ellis.sparky.hoag@gmail.com> | 2024-11-12 09:50:29 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-12 09:50:29 -0800 |
commit | b8d6659bff25458693c99a7c53372afcf6d66d7d (patch) | |
tree | 2b0e547da482e6b36d6db22f33e80efb3d1aed2a /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 789de766b5fc9c8ffa6e808a8baf0e585ac2e818 (diff) | |
download | llvm-b8d6659bff25458693c99a7c53372afcf6d66d7d.zip llvm-b8d6659bff25458693c99a7c53372afcf6d66d7d.tar.gz llvm-b8d6659bff25458693c99a7c53372afcf6d66d7d.tar.bz2 |
[CodeLayout] Do not flip branch condition when using optsize (#114607)
* Do not use profile data when flipping a branch condition when
optimizing for size. This should improving outlining and ICF due to more
uniform instruction sequences.
* Refactor `optimizeBranches()` to use early `continue`s
* Use the correct debug location for `insertBranch()`
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions