[all-commits] [llvm/llvm-project] 26ff4c: [RISCV] Add SDNode patterns for vandn.[vv, vx]

Luke Lau via All-commits all-commits at lists.llvm.org
Tue Jul 18 05:53:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26ff4c6745c3eae2d1323674a5a7876b918f8b36
      https://github.com/llvm/llvm-project/commit/26ff4c6745c3eae2d1323674a5a7876b918f8b36
  Author: Luke Lau <luke at igalia.com>
  Date:   2023-07-18 (Tue, 18 Jul 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
    A llvm/test/CodeGen/RISCV/rvv/vandn-sdnode.ll

  Log Message:
  -----------
  [RISCV] Add SDNode patterns for vandn.[vv,vx]

Unfortunately we can't use the standard splat_vector and vnot PatFrags because
they are preprocessed to vmv.v.x's, so we need to define helpers to catch
those. We can't use SplatPat either because we need to nest another fragment
inside of it.

Reviewed By: craig.topper

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


  Commit: 5eb7191421515d8fc7aa2c73afa50bfa67cb64a3
      https://github.com/llvm/llvm-project/commit/5eb7191421515d8fc7aa2c73afa50bfa67cb64a3
  Author: Luke Lau <luke at igalia.com>
  Date:   2023-07-18 (Tue, 18 Jul 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
    A llvm/test/CodeGen/RISCV/rvv/vandn-vp.ll

  Log Message:
  -----------
  [RISCV] Add VP patterns for vandn.[vv,vx]

This builds upon D155433

Reviewed By: craig.topper

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


Compare: https://github.com/llvm/llvm-project/compare/db393288ff9b...5eb719142151


More information about the All-commits mailing list