[all-commits] [llvm/llvm-project] 8d7cbc: [mlir] Preserve lexicographic order after loop col...

Alexander Belyaev via All-commits all-commits at lists.llvm.org
Fri Jan 29 12:33:27 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d7cbcf582c5c7bc08a9de7f31fed63bf2687127
      https://github.com/llvm/llvm-project/commit/8d7cbcf582c5c7bc08a9de7f31fed63bf2687127
  Author: Alexander Belyaev <pifon at google.com>
  Date:   2021-01-29 (Fri, 29 Jan 2021)

  Changed paths:
    M mlir/lib/Transforms/Utils/LoopUtils.cpp
    M mlir/test/Transforms/parallel-loop-collapsing.mlir
    M mlir/test/Transforms/single-parallel-loop-collapsing.mlir

  Log Message:
  -----------
  [mlir] Preserve lexicographic order after loop collapsing.

Currently, for a scf.parallel (i,j,k) after the loop collapsing to 1D is done, the
IVs would be traversed as for an scf.parallel(k,j,i).

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




More information about the All-commits mailing list