aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ObjectFile.cpp
diff options
context:
space:
mode:
authorAlex Bradbury <asb@igalia.com>2023-06-23 17:04:56 -0700
committerCraig Topper <craig.topper@sifive.com>2023-06-23 17:23:12 -0700
commit929124993a587a0e30690700f1dfd7e125c7d77a (patch)
treeb3eb3835d2841cfed5ecfb271c3dcf66c096478a /llvm/lib/Object/ObjectFile.cpp
parentf2d16b368fcde4cc7e67fe50316eb070d82487f9 (diff)
downloadllvm-929124993a587a0e30690700f1dfd7e125c7d77a.zip
llvm-929124993a587a0e30690700f1dfd7e125c7d77a.tar.gz
llvm-929124993a587a0e30690700f1dfd7e125c7d77a.tar.bz2
Recommit "[RISCV] Implement support for bf16 truncate/extend on hard FP targets"
Without the changes from D153598. Original commit message: For the same reasons as D151284, this requires custom lowering of the truncate libcall on hard float ABIs (the normal libcall code path is used on soft ABIs). The extend operation is implemented by a shift just as in the standard legalisation, but needs to be custom lowered because i32 isn't a legal type on RV64. This patch aims to make the minimal changes that result in correct codegen for the bfloat.ll tests. Differential Revision: https://reviews.llvm.org/D151663
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions