[PATCH] D142456: [AArch64][CostModel]: Add costs for zero/sign extend.
David Sherwood via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 25 07:54:35 PST 2023
david-arm added a comment.
Hi @hassnaa-arm, so the confusing aspect here is that the throughput in the cost model is kind of the inverse of the throughput that's sometimes talked about in optimisation guides, which doesn't help. So in that optimisation guide you referenced earlier I believe that a high throughput is essentially a 'good thing', whereas in the vectoriser cost model a high value means the opposite. Suppose you took the inverse of the throughput (2), then it would be 1/2, but the cost has to be an integer so we can just round up to 1.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142456/new/
https://reviews.llvm.org/D142456
More information about the llvm-commits
mailing list