[PowerPC][GISel]add support for float point arithmetic operations
authorChen Zheng <czhengsz@cn.ibm.com>
Tue, 22 Nov 2022 07:40:30 +0000 (02:40 -0500)
committerChen Zheng <czhengsz@cn.ibm.com>
Tue, 22 Nov 2022 08:00:27 +0000 (03:00 -0500)
commitd9143ce3fd1da95943b76e245a7e273dac73afd2
tree05f83e79191b826cc8efa4ce4493b11e8a23b764
parent801c77bbfabed0f5f47b3704dee8b401f4009734
[PowerPC][GISel]add support for float point arithmetic operations

Add global isel support for G_FADD, G_FSUB, G_FMUL, G_FDIV.

Reviewed By: Kai, nemanjai, arsenm, amyk

Differential Revision: https://reviews.llvm.org/D132942
llvm/lib/Target/PowerPC/GISel/PPCInstructionSelector.cpp
llvm/lib/Target/PowerPC/GISel/PPCLegalizerInfo.cpp
llvm/lib/Target/PowerPC/GISel/PPCRegisterBankInfo.cpp
llvm/lib/Target/PowerPC/GISel/PPCRegisterBankInfo.h
llvm/lib/Target/PowerPC/GISel/PPCRegisterBanks.td
llvm/lib/Target/PowerPC/PPCGenRegisterBankInfo.def
llvm/test/CodeGen/PowerPC/GlobalISel/float-arithmetic.ll [new file with mode: 0644]