[all-commits] [llvm/llvm-project] 458ed5: [TargetLowering][RISCV] Prevent scalarization of f...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Oct 21 14:34:23 PDT 2021


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

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bswap.ll

  Log Message:
  -----------
  [TargetLowering][RISCV] Prevent scalarization of fixed vector bswap.

It's better to do the ands, shifts, ors in the vector domain than
to scalarize it and do those operations on each element.

Reviewed By: RKSimon

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




More information about the All-commits mailing list