diff options
author | Elvis Wang <elvis.wang@sifive.com> | 2024-11-14 08:29:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-14 08:29:55 +0800 |
commit | b4d23cf6853a1e3971f27eae3b58609f77829252 (patch) | |
tree | 869400b90d53edea8bc1316b0fe58b31c4bf3c8f /llvm/unittests/CGData/StableFunctionMapTest.cpp | |
parent | 73b577cc8c8a8ceeac87de5953a2c643e125d43e (diff) | |
download | llvm-b4d23cf6853a1e3971f27eae3b58609f77829252.zip llvm-b4d23cf6853a1e3971f27eae3b58609f77829252.tar.gz llvm-b4d23cf6853a1e3971f27eae3b58609f77829252.tar.bz2 |
[LV] Fix missing precomptueCosts() in emitInvalidCostRemarks(). (#114918)
We should always update the `SkipComputation` which is set in
`VPCostContext` before VPlan compute costs.
This patch prevent the assertion of in-loop reduction in the
`VPReductionRecipe::computeCost()` and other potential assertions of
partially implemented VPlan-based cost model.
Diffstat (limited to 'llvm/unittests/CGData/StableFunctionMapTest.cpp')
0 files changed, 0 insertions, 0 deletions