[PATCH] D65497: [RISCV] Generate extensions for RV64 when lowering LibCall with i32 type

Sam Elliott via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 31 00:25:40 PDT 2019


lenary added a comment.

I thought the problem was in that in the complex add case, we needed to zero-extend the i32 into an i64, in order to zero the upper 32 bits. This patch seems to sign-extend the libcall instead. Is there a `shouldZeroExtendTypeInLibCall` callback?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D65497





More information about the llvm-commits mailing list