[all-commits] [llvm/llvm-project] 095e24: [RISCV] Add isel patterns for SH*ADD(.UW)

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Jan 22 13:29:29 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 095e245e164584b5de3c2938452b48d1f8ba4dda
      https://github.com/llvm/llvm-project/commit/095e245e164584b5de3c2938452b48d1f8ba4dda
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-01-22 (Fri, 22 Jan 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoB.td
    A llvm/test/CodeGen/RISCV/rv32Zba.ll
    M llvm/test/CodeGen/RISCV/rv64Zba.ll

  Log Message:
  -----------
  [RISCV] Add isel patterns for SH*ADD(.UW)

This adds an initial set of patterns for these instructions. Its
more complicated that I would like for the sh*add.uw instructions
because there is no guaranteed canonicalization for shl/and with
constants.

Reviewed By: asb

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




More information about the All-commits mailing list