diff options
author | Kamlesh Kumar <kamleshbhalui@gmail.com> | 2020-06-18 19:16:54 +0530 |
---|---|---|
committer | Kamlesh Kumar <kamleshbhalui@gmail.com> | 2020-06-18 19:34:16 +0530 |
commit | 7622ea5835f0381a426e504f4c03f11733732b83 (patch) | |
tree | 5da24e146f2e4a8f9afdeb1a90e4dcce380804ab /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | b2f2adee003adf24c88cc2154019422896b96551 (diff) | |
download | llvm-7622ea5835f0381a426e504f4c03f11733732b83.zip llvm-7622ea5835f0381a426e504f4c03f11733732b83.tar.gz llvm-7622ea5835f0381a426e504f4c03f11733732b83.tar.bz2 |
[RISCV64] Emit correct lib call for fp(float/double) to ui/si
Since i32 is not legal in riscv64,
it always promoted to i64 before emitting lib call and
for conversions like float/double to int and float/double to unsigned int
wrong lib call was emitted. This commit fix it using custom lowering.
Differential Revision: https://reviews.llvm.org/D80526
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions