diff options
author | Florian Hahn <flo@fhahn.com> | 2024-06-20 17:32:51 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2024-06-20 17:32:52 +0100 |
commit | 242cc200ccb24e22eaf54aed7b0b0c84cfc54c0b (patch) | |
tree | 302800503485fd06c334ab4ad929802bc6510e59 /lldb/source/Commands/CommandObjectFrame.cpp | |
parent | c07be08df5731dac0b36e029a0dd03ccb099deea (diff) | |
download | llvm-242cc200ccb24e22eaf54aed7b0b0c84cfc54c0b.zip llvm-242cc200ccb24e22eaf54aed7b0b0c84cfc54c0b.tar.gz llvm-242cc200ccb24e22eaf54aed7b0b0c84cfc54c0b.tar.bz2 |
Recommit "[VPlan] First step towards VPlan cost modeling. (#92555)"
This reverts commit 6f538f6a2d3224efda985e9eb09012fa4275ea92.
Extra tests for crashes discovered when building Chromium have been
added in fb86cb7ec157689e, 3be7312f81ad2.
Original message:
This adds a new interface to compute the cost of recipes, VPBasicBlocks,
VPRegionBlocks and VPlan, initially falling back to the legacy cost model
for all recipes. Follow-up patches will gradually migrate recipes to
compute their own costs step-by-step.
It also adds getBestPlan function to LVP which computes the cost of all
VPlans and picks the most profitable one together with the most
profitable VF.
The VPlan selected by the VPlan cost model is executed and there is an
assert to catch cases where the VPlan cost model and the legacy cost
model disagree. Even though I checked a number of different build
configurations on AArch64 and X86, there may be some differences
that have been missed.
Additional discussions and context can be found in @arcbbb's
https://github.com/llvm/llvm-project/pull/67647 and
https://github.com/llvm/llvm-project/pull/67934 which is an earlier
version of the current PR.
PR: https://github.com/llvm/llvm-project/pull/92555
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
0 files changed, 0 insertions, 0 deletions