[all-commits] [llvm/llvm-project] 4eb4f8: [RISCV] Use sign extend for i32 arguments and retu...
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon Jan 25 09:39:25 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 4eb4f8963f1e4998748bca66a512c3298f6d2289
https://github.com/llvm/llvm-project/commit/4eb4f8963f1e4998748bca66a512c3298f6d2289
Author: Craig Topper <craig.topper at sifive.com>
Date: 2021-01-25 (Mon, 25 Jan 2021)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.h
M llvm/test/CodeGen/RISCV/rv64i-single-softfloat.ll
Log Message:
-----------
[RISCV] Use sign extend for i32 arguments and returns in makeLibCall on RV64.
As far as I know 32 bits arguments and returns on RV64 are always
sign extended to i64. So I think we should be taking this into
account around libcalls.
Reviewed By: luismarques
Differential Revision: https://reviews.llvm.org/D95285
More information about the All-commits
mailing list