[all-commits] [llvm/llvm-project] 04ed82: [RISCV] Match shl (ext v, splat 1) to vector widen...

Jianjian Guan via All-commits all-commits at lists.llvm.org
Sun Jun 18 18:46:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04ed822dcc21f18d80e974706599d201eb16e466
      https://github.com/llvm/llvm-project/commit/04ed822dcc21f18d80e974706599d201eb16e466
  Author: Jianjian GUAN <jacquesguan at me.com>
  Date:   2023-06-19 (Mon, 19 Jun 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
    M llvm/test/CodeGen/RISCV/rvv/mgather-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/mscatter-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/vpgather-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/vpscatter-sdnode.ll

  Log Message:
  -----------
  [RISCV] Match shl (ext v, splat 1) to vector widening add.

Since we use match shl (v, splat 1) to vadd, we could also expand to widening add.

Reviewed By: craig.topper

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




More information about the All-commits mailing list