[PATCH] D154738: [SLP]Introduce isLegalVectorOp to check if the vector instruction is going to be scalarized.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 20 05:49:59 PDT 2023


ABataev added a comment.

In D154738#4648730 <https://reviews.llvm.org/D154738#4648730>, @RKSimon wrote:

> I wonder if we'd be better off just adding a isScalarized flag (and maybe a VF value?) member variable inside InstructionCost to track when the cost was scalarized, what do you think?

It may work too. Will you try to make a patch? Or you prefer me to make it?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154738



More information about the llvm-commits mailing list