[PATCH] D95285: [RISCV] Use sign extend for i32 arguments and returns in makeLibCall on RV64.

Luís Marques via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 25 03:01:29 PST 2021


luismarques accepted this revision.
luismarques added a comment.
This revision is now accepted and ready to land.

Nice catch, LGTM.
I guess part of the reason why this wasn't noticed before is that many libcalls (e.g. __floatunsisf) produce the same value even if you zero-extend the argument.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95285



More information about the llvm-commits mailing list