[all-commits] [llvm/llvm-project] d83620: [RISCV] Support vector strict_fsetcc/fsetccs.

Yeting Kuo via All-commits all-commits at lists.llvm.org
Thu Apr 13 18:10:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d83620d10138d1711fa8e58604d7fbd415378189
      https://github.com/llvm/llvm-project/commit/d83620d10138d1711fa8e58604d7fbd415378189
  Author: Yeting Kuo <yeting.kuo at sifive.com>
  Date:   2023-04-14 (Fri, 14 Apr 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfcmp-constrained-sdnode.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfcmps-constrained-sdnode.ll
    A llvm/test/CodeGen/RISCV/rvv/vfcmp-constrained-sdnode.ll
    A llvm/test/CodeGen/RISCV/rvv/vfcmps-constrained-sdnode.ll

  Log Message:
  -----------
  [RISCV] Support vector strict_fsetcc/fsetccs.

The patch supports vector strict_fsetcc/fsetccs. Instead of revserving fflags,
the method to implement scalar quiet compares, the patch implement quiet
compares by masking the signaling compares when either input is NaN [0].

[0]: https://github.com/riscv/riscv-v-spec/blob/master/v-spec.adoc#vector-floating-point-compare-instructions

Reviewed By: craig.topper

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




More information about the All-commits mailing list