[all-commits] [llvm/llvm-project] 55eb93: [RISCV] Remove RISCVISD::FP_EXTEND_BF16. (#106939)

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Sep 2 10:14:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55eb93b2688de99ada14c71804af99502276ac79
      https://github.com/llvm/llvm-project/commit/55eb93b2688de99ada14c71804af99502276ac79
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-09-02 (Mon, 02 Sep 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoZfbfmin.td

  Log Message:
  -----------
  [RISCV] Remove RISCVISD::FP_EXTEND_BF16. (#106939)

I don't think we need this node. We can isel fp_extend directly.
fp_extend to f64 requires two instructions, but we can emit them with an
isel pattern.

I have not removed RISCVISD::FP_ROUND_BF16 because f64->bf16 needs more
work to fix the double rounding.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list