diff options
author | Maksim Panchenko <maks@fb.com> | 2024-11-13 09:58:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-13 09:58:44 -0800 |
commit | 1b8e0cf090a08b2c517eb2a3e101332d692063c2 (patch) | |
tree | c831f775677b50f1ae852710bfa5e95a370c1a25 /llvm/lib/CodeGen/MachineModuleInfoImpls.cpp | |
parent | 6b2de10c687dedb8e460699d2b68f0b0eafc2b4e (diff) | |
download | llvm-1b8e0cf090a08b2c517eb2a3e101332d692063c2.zip llvm-1b8e0cf090a08b2c517eb2a3e101332d692063c2.tar.gz llvm-1b8e0cf090a08b2c517eb2a3e101332d692063c2.tar.bz2 |
[BOLT] Never emit "large" functions (#115974)
"Large" functions are functions that are too big to fit into their
original slots after code modifications. CheckLargeFunctions pass is
designed to prevent such functions from emission. Extend this pass to
work with functions with constant islands.
Now that CheckLargeFunctions covers all functions, it guarantees that we
will never see such functions after code emission on all platforms
(previously it was guaranteed on x86 only). Hence, we can get rid of
RewriteInstance extensions that were meant to support "large" functions.
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfoImpls.cpp')
0 files changed, 0 insertions, 0 deletions