[all-commits] [llvm/llvm-project] b5c608: [RISCV] Add tests covering shuffles which can be o...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Mon Aug 9 02:30:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b5c608c37775dafa5e1a9a07963ab03ee080493d
      https://github.com/llvm/llvm-project/commit/b5c608c37775dafa5e1a9a07963ab03ee080493d
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2021-08-09 (Mon, 09 Aug 2021)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-shuffles.ll

  Log Message:
  -----------
  [RISCV] Add tests covering shuffles which can be optimized

These shuffles all take the form of a "splat" of the LHS and/or RHS to
some degree, with one or two elements needing patched up afterwards. We
currently lower all of these to full LHS/RHS vector-index shuffles with
vrgather.vv.

Reviewed By: craig.topper

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




More information about the All-commits mailing list