[LoongArch] Handle missing CondCodes
authorgonglingqin <gonglingqin@loongson.cn>
Wed, 12 Oct 2022 13:11:29 +0000 (21:11 +0800)
committerWeining Lu <luweining@loongson.cn>
Wed, 12 Oct 2022 13:26:57 +0000 (21:26 +0800)
commitec2640bf3a5221a3ac58f25b34976be6264e8e21
tree25b0a73adb8044e864968b0f2c67d36270e4eaca
parentfe97f95036674692dd85939c867c4312b73df88f
[LoongArch] Handle missing CondCodes

Support SETLE/SETEQ and expand SETGE/SETNE/SETGT

Differential Revision: https://reviews.llvm.org/D135511
llvm/lib/Target/LoongArch/LoongArchFloat32InstrInfo.td
llvm/lib/Target/LoongArch/LoongArchFloat64InstrInfo.td
llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
llvm/test/CodeGen/LoongArch/ir-instruction/fcmp-dbl.ll
llvm/test/CodeGen/LoongArch/ir-instruction/fcmp-flt.ll