[llvm] [RISCV][GISel] Add support for G_FCMP with F and D extensions. (PR #70624)
Michael Maitland via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 30 09:57:28 PDT 2023
================
@@ -67,6 +67,9 @@ class RISCVInstructionSelector : public InstructionSelector {
bool selectSelect(MachineInstr &MI, MachineIRBuilder &MIB,
MachineRegisterInfo &MRI) const;
+ bool emitFPCompare(CmpInst::Predicate Pred, Register DstReg, Register LHS,
----------------
michaelmaitland wrote:
Should this function be renamed to `selectFPCompare`? It looks like we are using it to select a G_FCMP.
https://github.com/llvm/llvm-project/pull/70624
More information about the llvm-commits
mailing list