[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
Thu Aug 8 23:49:08 PDT 2019
shiva0217 updated this revision to Diff 214309.
shiva0217 edited the summary of this revision.
shiva0217 added a comment.
Herald added a subscriber: javed.absar.
Hi @efriedma,
I remove the IsCastFromFloat flag and store the SDNode before soften in MakeLibCallOptions struct. So that the shouldExtendTypeInLibCall could get the original type directly and get rid of the complicate IsCastFromFloat setting method. I try to illustrate most of the single soft-float functions in rv64i-single-softfloat.ll. Please kindly remind me if I still missing something, thanks.
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/TargetLowering.cpp
lib/Target/AArch64/AArch64ISelLowering.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/RISCV/RISCVISelLowering.cpp
lib/Target/RISCV/RISCVISelLowering.h
test/CodeGen/RISCV/calling-conv-lp64.ll
test/CodeGen/RISCV/rv32i-rv64i-float-double.ll
test/CodeGen/RISCV/rv64i-complex-float.ll
test/CodeGen/RISCV/rv64i-single-softfloat.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65497.214309.patch
Type: text/x-patch
Size: 47278 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190809/b8aff0c4/attachment.bin>
More information about the llvm-commits
mailing list