[PATCH] D100952: [TTI] NFC: Change getVectorSplitCost to return InstructionCost

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 21 08:22:01 PDT 2021


sdesmalen added a comment.

In D100952#2705138 <https://reviews.llvm.org/D100952#2705138>, @dfukalov wrote:

> @sdesmalen I'm going next to change `getTypeLegalizationCost()` to return pair with InstructionCost.
> Just want to know if you're working on it, to avoid work duplication, are you?

No, I hadn't started with that one yet, thanks for the help!

When changing getTypeLegalizationCost to return a pair with `InstructionCost`, we can return Invalid for `TypeScalarizeScalableVector`, which has been left explicitly unimplemented because this is difficult to do, as it would require generating a loop during SelectionDAG.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100952



More information about the llvm-commits mailing list