Files
clang-p2996/llvm/test/Transforms/LoopVectorize/remarks-reduction-inloop.ll
Elvis Wang b4d23cf685 [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.
2024-11-14 08:29:55 +08:00

3.9 KiB