[PATCH] D65497: [RISCV] Avoid generating AssertZext for LP64 ABI when lowering floating Libcall

Shiva Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 7 01:17:29 PDT 2019


shiva0217 updated this revision to Diff 213807.
shiva0217 retitled this revision from "[RISCV] Avoid generating AssertZext for RV64 when lowering floating Libcall" to "[RISCV] Avoid generating AssertZext for LP64 ABI when lowering floating Libcall".
shiva0217 edited the summary of this revision.
shiva0217 added a comment.

Rebase the patch base on D65795 <https://reviews.llvm.org/D65795> and update test cases.
Thanks for Eli's comments and Alex's excellent floating test cases that we could easily observe the difference.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D65497

Files:
  include/llvm/CodeGen/TargetLowering.h
  lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
  lib/CodeGen/SelectionDAG/LegalizeTypes.h
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  lib/Target/RISCV/RISCVISelLowering.cpp
  lib/Target/RISCV/RISCVISelLowering.h
  test/CodeGen/RISCV/calling-conv-lp64.ll
  test/CodeGen/RISCV/float-arith.ll
  test/CodeGen/RISCV/float-convert.ll
  test/CodeGen/RISCV/float-fcmp.ll
  test/CodeGen/RISCV/rv32i-rv64i-float-double.ll
  test/CodeGen/RISCV/rv64-complex-float.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65497.213807.patch
Type: text/x-patch
Size: 40764 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190807/c16586f0/attachment-0001.bin>


More information about the llvm-commits mailing list