diff options
| author | Hassnaa Hamdi <hassnaa.hamdi@arm.com> | 2025-10-22 12:16:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-22 12:16:11 +0100 |
| commit | 8b2aba2e20c3cfb9d2e9337fdc38c889b0ff8ae2 (patch) | |
| tree | 45d3998a0d1c71870e13ebeab5886ec19b3ec4d7 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
| parent | ec546ce5745b195655cbdf645322d5dda91374e0 (diff) | |
| download | llvm-8b2aba2e20c3cfb9d2e9337fdc38c889b0ff8ae2.zip llvm-8b2aba2e20c3cfb9d2e9337fdc38c889b0ff8ae2.tar.gz llvm-8b2aba2e20c3cfb9d2e9337fdc38c889b0ff8ae2.tar.bz2 | |
[WPD]: Enable speculative devirtualizatoin. (#159048)
This patch implements the speculative devirtualization feature in the
LLVM backend.
It handles the case of single implementation devirtualization where
there is a single possible callee of a virtual function.
- Add cl::opt 'devirtualize-speculatively' to enable it.
- Flag is disabled by default.
- It works regardless of the visibility of the object.
- Not enabled for LTO for now.
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions
