aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2025-08-08 13:40:07 +0100
committerGitHub <noreply@github.com>2025-08-08 13:40:07 +0100
commit7f1638efc148f34ad138144a8376fb2cf15b35b2 (patch)
tree9e87a19fe3cd81c9a0b26b809a77bb9765b465d7 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent83c308f014da00cadbbe9ac7c8fe8a48ff777b76 (diff)
downloadllvm-7f1638efc148f34ad138144a8376fb2cf15b35b2.zip
llvm-7f1638efc148f34ad138144a8376fb2cf15b35b2.tar.gz
llvm-7f1638efc148f34ad138144a8376fb2cf15b35b2.tar.bz2
[AArch64] Generalize costing for FP16 instructions (#150033)
This extracts the code for modelling a fp16 operation as `fptrunc(fpop(fpext,fpext))` into a new function named getFP16BF16PromoteCost so that it can be reused by the arithmetic instructions. The function takes a lambda to calculate the cost of the operation with the promoted type.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions