[PATCH] D98670: [RISCV] Pass 'half' in the lower 16 bits of an f32 value when F extension is enabled, but Zfh is not.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 17 10:07:30 PDT 2021
craig.topper updated this revision to Diff 331304.
craig.topper added a comment.
NaN-box the value before putting it into a float register.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98670/new/
https://reviews.llvm.org/D98670
Files:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/copysign-casts.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98670.331304.patch
Type: text/x-patch
Size: 9624 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210317/f2b2c884/attachment.bin>
More information about the llvm-commits
mailing list