[VE] Support fneg and frem
authorKazushi (Jam) Marukawa <marukawa@nec.com>
Sun, 11 Oct 2020 08:33:47 +0000 (17:33 +0900)
committerKazushi (Jam) Marukawa <marukawa@nec.com>
Mon, 12 Oct 2020 10:19:29 +0000 (19:19 +0900)
commit9d6d4b07a21614be12edc063aeda2bd19b58f780
tree6373b4cb7f14c7541eef926853816bd40cc9b071
parent6c32bc4875117696d23c035e9e11320e095e52a0
[VE] Support fneg and frem

VE doesn't have fneg or frem instruction, so change them to expand.  Add
regression tests also.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D89205
llvm/lib/Target/VE/VEISelLowering.cpp
llvm/test/CodeGen/VE/fp_fneg.ll [new file with mode: 0644]
llvm/test/CodeGen/VE/fp_frem.ll [new file with mode: 0644]