[all-commits] [llvm/llvm-project] ab6e02: [RISCV] Match vwmulsu_vx with scalar splat input.

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Feb 15 08:50:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab6e02dded99b11069de4af3b361abdbf6253ac0
      https://github.com/llvm/llvm-project/commit/ab6e02dded99b11069de4af3b361abdbf6253ac0
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-02-15 (Tue, 15 Feb 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vwmulsu.ll

  Log Message:
  -----------
  [RISCV] Match vwmulsu_vx with scalar splat input.

This is a more generic version of D119110 that uses MaskedValueIsZero
to do the matching and SimplifyDemandedBits to remove any unneeded
AND instructions.

Tests were taken from D119110.

Reviewed By: Chenbing.Zheng

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




More information about the All-commits mailing list