[PATCH] D53237: [RISCV] Implement RV64D codegen

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 22 00:24:36 PST 2019


asb updated this revision to Diff 182853.
asb edited the summary of this revision.
asb added a comment.

Rebased on the latest RV64F update. As @efriedma pointed out, fptosi/fptoui produce poison if the input won't fit in the target type. Just like the equivalent case in RV64F, fcvt.l[u].d can typically be used rather than fcvt.w[u].d because of this.


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

https://reviews.llvm.org/D53237

Files:
  lib/Target/RISCV/RISCVISelLowering.cpp
  lib/Target/RISCV/RISCVInstrInfoD.td
  test/CodeGen/RISCV/double-arith.ll
  test/CodeGen/RISCV/double-br-fcmp.ll
  test/CodeGen/RISCV/double-convert.ll
  test/CodeGen/RISCV/double-fcmp.ll
  test/CodeGen/RISCV/double-imm.ll
  test/CodeGen/RISCV/double-intrinsics.ll
  test/CodeGen/RISCV/double-mem.ll
  test/CodeGen/RISCV/double-select-fcmp.ll
  test/CodeGen/RISCV/double-stack-spill-restore.ll
  test/CodeGen/RISCV/rv64d-double-convert.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53237.182853.patch
Type: text/x-patch
Size: 70607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190122/3ba47f11/attachment.bin>


More information about the llvm-commits mailing list