[all-commits] [llvm/llvm-project] 156fc0: [RISCV] Add support for fixed vector MULHU/MULHS.

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Feb 18 09:15:32 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 156fc07e19ae599e638e18e598dbf5c5a4247408
      https://github.com/llvm/llvm-project/commit/156fc07e19ae599e638e18e598dbf5c5a4247408
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int.ll

  Log Message:
  -----------
  [RISCV] Add support for fixed vector MULHU/MULHS.

This uses to division by constant optimization to use MULHU/MULHS.

Reviewed By: frasercrmck, arcbbb

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




More information about the All-commits mailing list