[all-commits] [llvm/llvm-project] 9f087b: [RISCV] Improve 4x and 8x (s/u)int_to_fp.

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Jan 6 08:43:32 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f087ba05b34eba6bd8a96659cc69283458f7b00
      https://github.com/llvm/llvm-project/commit/9f087ba05b34eba6bd8a96659cc69283458f7b00
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/ctlz-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/cttz-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctlz.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-i2fp.ll
    M llvm/test/CodeGen/RISCV/rvv/vitofp-sdnode.ll

  Log Message:
  -----------
  [RISCV] Improve 4x and 8x (s/u)int_to_fp.

Previously we emitted a 4x or 8x vzext followed by a vfcvt.
We can instead use a 2x or 4x vzext followed by a vfwcvt.




More information about the All-commits mailing list