[all-commits] [llvm/llvm-project] 3b2f26: [mlir][Linalg] NFC : Fix check for scalar case han...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Mon Apr 13 13:25:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b2f26ab05a80ffb3fcee62fd690da2e6d39c4a3
      https://github.com/llvm/llvm-project/commit/3b2f26ab05a80ffb3fcee62fd690da2e6d39c4a3
  Author: MaheshRavishankar <ravishankarm at google.com>
  Date:   2020-04-13 (Mon, 13 Apr 2020)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp
    M mlir/test/Dialect/Linalg/loops.mlir

  Log Message:
  -----------
  [mlir][Linalg] NFC : Fix check for scalar case handling in LinalgToLoops

The invertPermutation method does not return a nullptr anymore, but
rather returns an empty map for the scalar case. Update the check in
LinalgToLoops to reflect this.
Also add test case for generating scalar code.


  Commit: 2a99e700e0f337c34c2d9d1cb5e4dc1d312fa248
      https://github.com/llvm/llvm-project/commit/2a99e700e0f337c34c2d9d1cb5e4dc1d312fa248
  Author: MaheshRavishankar <ravishankarm at google.com>
  Date:   2020-04-13 (Mon, 13 Apr 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Transforms/LinalgTransforms.h
    M mlir/lib/Dialect/Linalg/Transforms/LinalgTransforms.cpp

  Log Message:
  -----------
  [mlir][Linalg] NFC: Add utility function to tile, fuse and set marker to use loop.parallel.

This change is NFC since the facility to tile and generate
loop.parallel loops already exists in Linalg.

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


Compare: https://github.com/llvm/llvm-project/compare/03391df90ed1...2a99e700e0f3


More information about the All-commits mailing list