[CSKY] Add support for half-precision floats
authorZi Xuan Wu (Zeson) <zixuan.wu@linux.alibaba.com>
Wed, 14 Jun 2023 06:58:48 +0000 (14:58 +0800)
committerZi Xuan Wu <zixuan.wu@linux.alibaba.com>
Wed, 14 Jun 2023 07:03:07 +0000 (15:03 +0800)
commitd90468d1619634f0629c7637d25716956ccc6b7a
tree3c35f872e1387345fc0b5d5ee0b7d362eacb7523
parentfc4350cb4396cc7b28f10a697d45269beda03ff5
[CSKY] Add support for half-precision floats

Complete fp16 support by ensuring that load extension / truncate store operations are properly expanded.
llvm/lib/Target/CSKY/CSKYISelLowering.cpp
llvm/test/CodeGen/CSKY/fpu/fp16-promote.ll [new file with mode: 0644]