[PATCH] D116694: [RISCV] Add strictfp support for compares.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 5 15:39:48 PST 2022


craig.topper updated this revision to Diff 397729.
craig.topper added a comment.

Preserve NoFPExcept flag when expanding the pseudo. Though maybe NoFPExcept gives permission to not save/restore FFLAGS?
Add an FEQ to the NonSignaling pseudo expansion to signal for SNANs.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116694

Files:
  llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVInstrFormats.td
  llvm/lib/Target/RISCV/RISCVInstrInfo.td
  llvm/lib/Target/RISCV/RISCVInstrInfoD.td
  llvm/lib/Target/RISCV/RISCVInstrInfoF.td
  llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td
  llvm/test/CodeGen/RISCV/double-fcmp-strict.ll
  llvm/test/CodeGen/RISCV/float-fcmp-strict.ll
  llvm/test/CodeGen/RISCV/half-fcmp-strict.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116694.397729.patch
Type: text/x-patch
Size: 132059 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220105/82e7b678/attachment-0001.bin>


More information about the llvm-commits mailing list