[all-commits] [llvm/llvm-project] e3540f: [RISCV] Promote f16 fp_to_int_sat with Zfhmin duri...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Dec 7 11:58:55 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3540fb9482962a5a70d88e4a93843d1d4f6096d
      https://github.com/llvm/llvm-project/commit/e3540fb9482962a5a70d88e4a93843d1d4f6096d
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-12-07 (Wed, 07 Dec 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td

  Log Message:
  -----------
  [RISCV] Promote f16 fp_to_int_sat with Zfhmin during lowering instead of isel.

We already have a custom handler for FP_TO_(S/U)INT_SAT. It's easy
enought to inject an FP_EXTEND in there.




More information about the All-commits mailing list