[all-commits] [llvm/llvm-project] 116af6: [RISCV] When expanding CONCAT_VECTORS, don't creat...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Jan 17 14:43:57 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 116af698e20bac65c3532f10458c32f536da4f78
      https://github.com/llvm/llvm-project/commit/116af698e20bac65c3532f10458c32f536da4f78
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-01-17 (Mon, 17 Jan 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/common-shuffle-patterns.ll
    M llvm/test/CodeGen/RISCV/rvv/extract-subvector.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-shuffles.ll
    M llvm/test/CodeGen/RISCV/rvv/interleave-crash.ll

  Log Message:
  -----------
  [RISCV] When expanding CONCAT_VECTORS, don't create INSERT_SUBVECTORS for undef subvectors.

For fixed vectors, the undef will get expanded to an all zeros
build_vector. We don't want that so suppress creating the
insert_subvector.

Reviewed By: frasercrmck

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




More information about the All-commits mailing list