[all-commits] [llvm/llvm-project] b9a289: [RISCV] Move all isel cases for ISD::ConstantFP in...

Craig Topper via All-commits all-commits at lists.llvm.org
Sat Feb 4 17:42:41 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9a2893b55e6e44ca6f5cd8bcc39028716febbdb
      https://github.com/llvm/llvm-project/commit/b9a2893b55e6e44ca6f5cd8bcc39028716febbdb
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-02-04 (Sat, 04 Feb 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoD.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoF.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td

  Log Message:
  -----------
  [RISCV] Move all isel cases for ISD::ConstantFP into RISCVDAGToDAGISel::Select.

After D142953, non-zero cases were handled in RISCVDAGToDAGISel::Select
and zeros were handled with isel patterns. The zeros cases are
sufficiently similar to zero that we might as well handle them all
together. We already needed to detect the cases to skip out to
tablegen.




More information about the All-commits mailing list