[PATCH] D78908: [RISCV] Add patterns for checking isnan

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 30 02:25:36 PDT 2020


asb added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoD.td:316
                  1)>;
+def : Pat<(setuo FPR64:$rs1, FPR64:$rs1),
+          (SLTIU (FEQ_D $rs1, $rs1), 1)>;
----------------
I think this pattern and the matching one in RISCVInstrInfoF.td is left untested?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78908/new/

https://reviews.llvm.org/D78908





More information about the llvm-commits mailing list