diff options
| author | Kyungwoo Lee <kyulee@meta.com> | 2024-10-09 15:37:41 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-09 15:37:41 -0700 |
| commit | dc85d5263ed5e416cb4ddf405611472f4ef12fd3 (patch) | |
| tree | 5025c790a7c3526f1919c5a9ae6142a1824fa457 /lldb/packages/Python/lldbsuite/test | |
| parent | 4aba20fecaa09089132afe451aa04a22cd3794ca (diff) | |
| download | llvm-dc85d5263ed5e416cb4ddf405611472f4ef12fd3.zip llvm-dc85d5263ed5e416cb4ddf405611472f4ef12fd3.tar.gz llvm-dc85d5263ed5e416cb4ddf405611472f4ef12fd3.tar.bz2 | |
[CGData][ThinLTO] Global Outlining with Two-CodeGen Rounds (#90933)
This feature is enabled by `-codegen-data-thinlto-two-rounds`, which
effectively runs the `-codegen-data-generate` and `-codegen-data-use` in
two rounds to enable global outlining with ThinLTO.
1. The first round: Run both optimization + codegen with a scratch
output.
Before running codegen, we serialize the optimized bitcode modules to a
temporary path.
2. From the scratch object files, we merge them into the codegen data.
3. The second round: Read the optimized bitcode modules and start the
codegen only this time.
Using the codegen data, the machine outliner effectively performs the
global outlining.
Depends on #90934, #110461 and #110463.
This is a patch for
https://discourse.llvm.org/t/rfc-enhanced-machine-outliner-part-2-thinlto-nolto/78753.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions
