[all-commits] [llvm/llvm-project] 20c338: [mlir][Linalg] emitLoopRanges and emitLoopRangesWi...

Jakub Lichman via All-commits all-commits at lists.llvm.org
Thu Jul 23 03:34:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 20c3386f4a0bc39aa33512dcad024c678e89f9c4
      https://github.com/llvm/llvm-project/commit/20c3386f4a0bc39aa33512dcad024c678e89f9c4
  Author: Jakub Lichman <limo at google.com>
  Date:   2020-07-23 (Thu, 23 Jul 2020)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Loops.cpp

  Log Message:
  -----------
  [mlir][Linalg] emitLoopRanges and emitLoopRangesWithSymbols merged into one

Right now there is a branching for 2 functions based on whether target map has
symbols or not. In this commit these functions are merged into one.
Furthermore, emitting does not require inverse and map applying as it computes
the correct Range in a single step and thus reduces unnecessary overhead.

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




More information about the All-commits mailing list