[all-commits] [llvm/llvm-project] ada545: [RISCV] Expand scalable vector bswap. Fix crash fo...

Craig Topper via All-commits all-commits at lists.llvm.org
Sun Oct 31 10:09:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ada5458521977b0d34bf7c6530ed04deba8fd833
      https://github.com/llvm/llvm-project/commit/ada5458521977b0d34bf7c6530ed04deba8fd833
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-10-31 (Sun, 31 Oct 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    A llvm/test/CodeGen/RISCV/rvv/bitreverse-sdnode.ll
    A llvm/test/CodeGen/RISCV/rvv/bswap-sdnode.ll

  Log Message:
  -----------
  [RISCV] Expand scalable vector bswap. Fix crash for bitreverse.

Fix LegalizeVectorOps to not try shuffle or unrolling expansions for
scalable vectors.

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




More information about the All-commits mailing list