[all-commits] [llvm/llvm-project] ebb04e: [NFC][RISCV] Test for 0.0 fp immediate

Roger Ferrer Ibáñez via All-commits all-commits at lists.llvm.org
Fri Mar 20 02:45:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ebb04e9ca936409a756bb6817f0957591fe493c1
      https://github.com/llvm/llvm-project/commit/ebb04e9ca936409a756bb6817f0957591fe493c1
  Author: Roger Ferrer Ibanez <roger.ferrer at bsc.es>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    A llvm/test/CodeGen/RISCV/fp-imm.ll

  Log Message:
  -----------
  [NFC][RISCV] Test for 0.0 fp immediate

To show a later change that impacts 0.0 fp constant generation.

Differential Revision: https://reviews.llvm.org/D75728


  Commit: 3c24aee7ee8b00ff3825684f3e5436d8f71e4046
      https://github.com/llvm/llvm-project/commit/3c24aee7ee8b00ff3825684f3e5436d8f71e4046
  Author: Roger Ferrer Ibanez <roger.ferrer at bsc.es>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/lib/Target/RISCV/RISCVInstrInfoD.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoF.td
    M llvm/test/CodeGen/RISCV/double-arith.ll
    M llvm/test/CodeGen/RISCV/float-arith.ll
    M llvm/test/CodeGen/RISCV/float-br-fcmp.ll
    M llvm/test/CodeGen/RISCV/fp-imm.ll

  Log Message:
  -----------
  [RISCV] Select +0.0 immediate using fmv.{w,d}.x / fcvt.d.w

Floating point positive zero can be selected using fmv.w.x / fmv.d.x /
fcvt.d.w and the zero source register.

Differential Revision: https://reviews.llvm.org/D75729


Compare: https://github.com/llvm/llvm-project/compare/03727687766a...3c24aee7ee8b


More information about the All-commits mailing list