[all-commits] [llvm/llvm-project] d255e0: [RISCV] Peak through BITCAST in isUsedByReturnOnly

Luke Lau via All-commits all-commits at lists.llvm.org
Mon Jan 30 15:41:27 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d255e0f99716cdd18c60f3e8ea4ef8c7f57fe3a3
      https://github.com/llvm/llvm-project/commit/d255e0f99716cdd18c60f3e8ea4ef8c7f57fe3a3
  Author: Luke Lau <luke at igalia.com>
  Date:   2023-01-30 (Mon, 30 Jan 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/float-frem.ll
    M llvm/test/CodeGen/RISCV/libcall-tail-calls.ll

  Log Message:
  -----------
  [RISCV] Peak through BITCAST in isUsedByReturnOnly

A follow up to 47b1f8362aa409b591b5e9c8a9ff0e3e1d76ed9c,
This covers some more cases on soft-float ABIs with the f/d extension.
I left the TODO in as there is still the case where we need to handle rv32i without f/d, but that looks like it requires changes to SelectionDAGLegalize::ExpandFPLibCall

Reviewed By: asb, reames

Differential Revision: https://reviews.llvm.org/D142911




More information about the All-commits mailing list