[PATCH] D149654: [SLP] Don't cost pointers that can be folded in getPointersChainCost

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 2 16:04:33 PDT 2023


luke added a comment.

In D149654#4312732 <https://reviews.llvm.org/D149654#4312732>, @ABataev wrote:

> I think this patch requires some cost analysis tests.

I agree, although `getPointersChainInfo` doesn't get called anywhere useful for `opt -passes="print<cost-model>"`, so the only way I can think of verifying the cost is via checking the debug output from SLP. Is there a better way to go about this?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149654/new/

https://reviews.llvm.org/D149654



More information about the llvm-commits mailing list