[all-commits] [llvm/llvm-project] 80e026: [RISCV] Add tests showing missed vector saturating...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Tue Jul 27 01:20:20 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80e0266577b0536bb6cae0d5be0aa3b572b50ef7
      https://github.com/llvm/llvm-project/commit/80e0266577b0536bb6cae0d5be0aa3b572b50ef7
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2021-07-27 (Tue, 27 Jul 2021)

  Changed paths:
    A llvm/test/CodeGen/RISCV/rvv/combine-sats.ll

  Log Message:
  -----------
  [RISCV] Add tests showing missed vector saturating add/sub combines

These will be optimized by upcoming patches. The tests are primarily not
being optimized due to the lack of support for saturating vector
arithmetic in the RISC-V backend.

On top of that, however, a large percentage of the scalable-vector tests
are also lacking support in the DAGCombiner: either in
`ISD::matchBinaryPredicate` or due to checks specifically for
`BUILD_VECTOR` and not `SPLAT_VECTOR`.

Reviewed By: craig.topper

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




More information about the All-commits mailing list