[PATCH] D151284: [RISCV] Custom lower FP_TO_FP16 and FP16_TO_FP to correct ABI of of libcall

Zixuan Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 3 00:41:11 PDT 2023


zixuan-wu added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/half-convert.ll:149
 ; RV64ID-NEXT:    fmv.x.w a0, fa0
+; RV64ID-NEXT:    fmv.w.x fa0, a0
 ; RV64ID-NEXT:    call __extendhfsf2 at plt
----------------
why is there redundant  fmv.x.w/fmv.w.x?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151284



More information about the llvm-commits mailing list