[all-commits] [llvm/llvm-project] bbee9e: [RISCV] Match shufflevector corresponding to slideup.

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Feb 17 08:27:07 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bbee9e77f34c073642c73c2a423c284cca7444d6
      https://github.com/llvm/llvm-project/commit/bbee9e77f34c073642c73c2a423c284cca7444d6
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-02-17 (Thu, 17 Feb 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-shuffles.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-shuffles.ll

  Log Message:
  -----------
  [RISCV] Match shufflevector corresponding to slideup.

This generalizes isElementRotate to work when there's only a single
slide needed. I've removed matchShuffleAsSlideDown which is now
redundant.

Reviewed By: frasercrmck, khchen

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




More information about the All-commits mailing list