[llvm] RISC-V: Select FCANONICALIZE (PR #112083)
Pengcheng Wang via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 12 00:49:28 PDT 2024
================
@@ -411,13 +411,13 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM,
setOperationAction(ISD::SELECT, XLenVT, Custom);
static const unsigned FPLegalNodeTypes[] = {
- ISD::FMINNUM, ISD::FMAXNUM, ISD::FMINIMUMNUM,
- ISD::FMAXIMUMNUM, ISD::LRINT, ISD::LLRINT,
- ISD::LROUND, ISD::LLROUND, ISD::STRICT_LRINT,
- ISD::STRICT_LLRINT, ISD::STRICT_LROUND, ISD::STRICT_LLROUND,
- ISD::STRICT_FMA, ISD::STRICT_FADD, ISD::STRICT_FSUB,
- ISD::STRICT_FMUL, ISD::STRICT_FDIV, ISD::STRICT_FSQRT,
- ISD::STRICT_FSETCC, ISD::STRICT_FSETCCS};
+ ISD::FMINNUM, ISD::FMAXNUM, ISD::FMINIMUMNUM,
+ ISD::FMAXIMUMNUM, ISD::FCANONICALIZE, ISD::LRINT,
----------------
wangpc-pp wrote:
Append `ISD::FCANONICALIZE` to the end of list?
https://github.com/llvm/llvm-project/pull/112083
More information about the llvm-commits
mailing list