[llvm] [RISCV][GISel] Add support for G_IS_FPCLASS in F and D extensions (PR #72000)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 10 23:49:07 PST 2023
================
@@ -948,6 +952,30 @@ bool RISCVInstructionSelector::selectFPCompare(MachineInstr &MI,
return true;
}
+bool RISCVInstructionSelector::selectIsFPClass(MachineInstr &MI,
+ MachineIRBuilder &MIB,
+ MachineRegisterInfo &MRI) const {
+ Register CheckResult = MI.getOperand(0).getReg();
----------------
tschuett wrote:
Would a `GISFPLASS` simplify the code?
https://github.com/llvm/llvm-project/pull/72000
More information about the llvm-commits
mailing list