[PATCH] D142456: [AArch64][CostModel]: Add costs for zero/sign extend.

hassnaaHamdi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 03:53:41 PST 2023


hassnaa-arm added a comment.

In D142456#4079434 <https://reviews.llvm.org/D142456#4079434>, @dmgreen wrote:

>> where each operation has a cost of 2
>
> Why does each instruction have a cost of 2?

Because that is mentioned here: https://developer.arm.com/documentation/pjdoc466751330-9685/latest/ 
in section 3.25 (SVE integer instructions)


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