[all-commits] [llvm/llvm-project] 1c874b: [RISCV] Don't promote f16/bf16 SELECT with Zfhmin/...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Sep 3 16:05:12 PDT 2024


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

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoZfbfmin.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td
    M llvm/test/CodeGen/RISCV/bfloat-select-fcmp.ll
    M llvm/test/CodeGen/RISCV/bfloat-select-icmp.ll
    M llvm/test/CodeGen/RISCV/half-select-fcmp.ll
    M llvm/test/CodeGen/RISCV/half-select-icmp.ll

  Log Message:
  -----------
  [RISCV] Don't promote f16/bf16 SELECT with Zfhmin/Zfbfmin. (#107138)

Select only needs branches and moves so we don't need to promote it.
Promoting would canonicalize NaNs which select shouldn't do.



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