[all-commits] [llvm/llvm-project] be0cbe: [RISCV] Add test cases showing fli being used for ...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Oct 26 22:12:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be0cbe91735b50a31dc61aad7cf10df4a484c873
      https://github.com/llvm/llvm-project/commit/be0cbe91735b50a31dc61aad7cf10df4a484c873
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-10-26 (Thu, 26 Oct 2023)

  Changed paths:
    M llvm/test/CodeGen/RISCV/double-zfa.ll
    M llvm/test/CodeGen/RISCV/float-zfa.ll
    M llvm/test/CodeGen/RISCV/half-zfa-fli.ll

  Log Message:
  -----------
  [RISCV] Add test cases showing fli being used for negative min normalized value.

We can only use fli for the positive normalized value.


  Commit: 8ff14223536d6645d7c92b4488e3eb676e548cb1
      https://github.com/llvm/llvm-project/commit/8ff14223536d6645d7c92b4488e3eb676e548cb1
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-10-26 (Thu, 26 Oct 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.cpp
    M llvm/test/CodeGen/RISCV/double-zfa.ll
    M llvm/test/CodeGen/RISCV/float-zfa.ll
    M llvm/test/CodeGen/RISCV/half-zfa-fli.ll

  Log Message:
  -----------
  [RISCV] Fix incorrect use of Zfa fli instruction for negative minimum value. (#70411)

isSmallestNormalized() only considers the magnitude, not the sign.


Compare: https://github.com/llvm/llvm-project/compare/b88a9f9670bb...8ff14223536d


More information about the All-commits mailing list