[llvm] [RISCV][GISel] Support fcmp and fclass for Zfh. (PR #96696)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 25 13:50:14 PDT 2024


================
@@ -478,7 +478,6 @@ RISCVRegisterBankInfo::getInstrMapping(const MachineInstr &MI) const {
     LLT Ty = MRI.getType(MI.getOperand(2).getReg());
 
     unsigned Size = Ty.getSizeInBits();
-    assert((Size == 32 || Size == 64) && "Unsupported size for G_FCMP");
----------------
topperc wrote:

I deleted this assert since getFPValueMapping has the same assert and is called a couple lines down.

https://github.com/llvm/llvm-project/pull/96696


More information about the llvm-commits mailing list