[all-commits] [llvm/llvm-project] 99ed6c: [SelectionDAG][RISCV] Add tests showing missed sca...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Thu Jul 22 23:07:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99ed6ce2bdf062db9277a309b7c307fd22fadf9d
      https://github.com/llvm/llvm-project/commit/99ed6ce2bdf062db9277a309b7c307fd22fadf9d
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2021-07-23 (Fri, 23 Jul 2021)

  Changed paths:
    A llvm/test/CodeGen/RISCV/rvv/combine-splats.ll
    A llvm/test/CodeGen/RISCV/rvv/urem-seteq-vec.ll

  Log Message:
  -----------
  [SelectionDAG][RISCV] Add tests showing missed scalable-splat optimizations

These tests show missed opportunities in the SelectionDAG layer when
dealing with scalable-vector splats. All of these are handled for the
equivalent `ISD::BUILD_VECTOR` code, and the tests have largely been
translated from the equivalent X86 tests.

Reviewed By: craig.topper

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




More information about the All-commits mailing list