[all-commits] [llvm/llvm-project] 17e092: [RISCV] Don't try to use fli.h with Zfa+Zfhmin.

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Mar 8 22:54:47 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17e0926d6ab2f5c6e16f1831dbc33ee058182b6a
      https://github.com/llvm/llvm-project/commit/17e0926d6ab2f5c6e16f1831dbc33ee058182b6a
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-03-08 (Wed, 08 Mar 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    A llvm/test/CodeGen/RISCV/half-zfa-fli.ll
    M llvm/test/CodeGen/RISCV/half-zfa.ll

  Log Message:
  -----------
  [RISCV] Don't try to use fli.h with Zfa+Zfhmin.

fli.h requires Zfh or Zvfh. We need to check for this in
isFPImmLegal. Zvfh support will come in another patch.

I had to split the test file because there are other issues with
Zfhmin and some intrinsics.




More information about the All-commits mailing list