[PATCH] D95355: [CostModel] Handle CTLZ and CCTZ in getTypeBasedIntrinsicInstrCost
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 25 08:02:34 PST 2021
samparker added a comment.
I guess these costs look more reasonable compared to their scalar counterparts, though I don't think we have cttz for MVE. But as a general query, if these are being scalarized why isn't the cost 16? It looks like it could just be the accumulation costs of the scalar parts. Or have I missed something?
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