diff options
author | David Sherwood <david.sherwood@arm.com> | 2025-02-04 09:41:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-04 09:41:53 +0000 |
commit | de5d5888043ae022756ecdda31b550343a4dfeff (patch) | |
tree | bd46e611bd60d9bdf84df0b9a6dcfc6ff7630544 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | eb6ca1242c1035fac6a8f1edfe7925b4994d4ecf (diff) | |
download | llvm-de5d5888043ae022756ecdda31b550343a4dfeff.zip llvm-de5d5888043ae022756ecdda31b550343a4dfeff.tar.gz llvm-de5d5888043ae022756ecdda31b550343a4dfeff.tar.bz2 |
[AArch64] Tweak the costs of experimental_cttz_elts intrinsic (#125093)
The experimental_cttz_elts intrinsic currently returns a cost
of 1 for all types, however we know that it currently requires
2 SVE instructions when lowering this - brkb and cntp. Both of
these instructions have a throughput that is half of a basic
vector instruction such as a vector add. This patch bumps the
cost of this intrinsic up to 4 to reflect two instructions of
lower throughput.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions