[CSKY] Support bitcast operation from/to double to/from two GPRs
authorZi Xuan Wu <zixuan.wu@linux.alibaba.com>
Thu, 7 Apr 2022 10:24:34 +0000 (18:24 +0800)
committerZi Xuan Wu <zixuan.wu@linux.alibaba.com>
Thu, 7 Apr 2022 10:36:04 +0000 (18:36 +0800)
commitcfcac264e2d94c62ac107a82035695919b5d1633
tree164632f8b45cf2e3d97c31213cc4448d2315796d
parent7d8a06ee6c71d0dd63e9e6bdfba9ccde774b2a40
[CSKY] Support bitcast operation from/to double to/from two GPRs

In soft ABI, floating num is passing in GPRs. So we need support
bitcovert from double to Hi and Lo GPRs and vice versa
llvm/lib/Target/CSKY/CSKYISelDAGToDAG.cpp
llvm/test/CodeGen/CSKY/fpu/float-abi.ll [new file with mode: 0644]