[all-commits] [llvm/llvm-project] b2b356: [mlir] Fix scf.for single iteration canonicalizati...

Lei Zhang via All-commits all-commits at lists.llvm.org
Tue Feb 2 08:12:23 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b2b35697dc5172ab1e815e08c0a2714f2a1a9330
      https://github.com/llvm/llvm-project/commit/b2b35697dc5172ab1e815e08c0a2714f2a1a9330
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M mlir/lib/Dialect/SCF/SCF.cpp
    M mlir/test/Dialect/Linalg/fusion.mlir
    M mlir/test/Dialect/SCF/canonicalize.mlir

  Log Message:
  -----------
  [mlir] Fix scf.for single iteration canonicalization check

We should be check whether lb + step >= ub to determine
whether this is a single iteration. Previously we were
checking lb + lb >= ub.

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


  Commit: e901188cf9e34b54db7b1c5359264549d5f5be4f
      https://github.com/llvm/llvm-project/commit/e901188cf9e34b54db7b1c5359264549d5f5be4f
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVCompositeOps.td
    M mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
    M mlir/test/Dialect/SPIRV/IR/composite-ops.mlir
    M mlir/test/Target/SPIRV/composite-op.mlir

  Log Message:
  -----------
  [mlir][spirv] Define sp.VectorShuffle

This patch adds basic op definition, parser/printer, and verifier.

Reviewed By: ThomasRaoux

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


Compare: https://github.com/llvm/llvm-project/compare/eb3426a528d5...e901188cf9e3


More information about the All-commits mailing list