[all-commits] [llvm/llvm-project] 38007d: [RISCV] Promote i1 shuffles to i8 shuffles.

Craig Topper via All-commits all-commits at lists.llvm.org
Thu May 4 19:47:56 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 38007dd394c77b899e82117221d7cebcd8060165
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-05-04 (Thu, 04 May 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/constant-folding-crash.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vector-shuffle-reverse.ll
    M llvm/test/CodeGen/RISCV/rvv/vector-deinterleave-fixed.ll
    M llvm/test/CodeGen/RISCV/rvv/vector-interleave-fixed.ll

  Log Message:
  [RISCV] Promote i1 shuffles to i8 shuffles.

Otherwise I think we extract and use a build_vector. There may be
some more improvements that can be made and there might be some
cases that we should do something different for, but this seemed like a
decent starting point.

Reviewed By: luke

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

More information about the All-commits mailing list