[PATCH] D95355: [CostModel] Handle CTLZ and CCTZ in getTypeBasedIntrinsicInstrCost

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 25 08:20:03 PST 2021


dmgreen added a comment.

It's not scalarized. Like I said it's custom lowered to a bitreverse (plus a mov) and a ctlz so 3 instructions in general.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95355



More information about the llvm-commits mailing list