[PATCH] D80526: [RISCV64] emit correct lib call for fp(double) to ui/si

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 26 01:35:10 PDT 2020


efriedma added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/rv64i-single-softfloat.ll:178
+; RV64I-NEXT:    slli a0, a0, 32
+; RV64I-NEXT:    srli a0, a0, 32
+; RV64I-NEXT:    call __fixsfsi
----------------
This looks suspicious; do we really need the slli/srli pair here?


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

https://reviews.llvm.org/D80526





More information about the llvm-commits mailing list