[all-commits] [llvm/llvm-project] aa9365: [mlir][SCF] Add utility to clone an scf.ForOp whil...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Fri May 29 04:31:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aa93659c9ffcf36dc1b0c70ce5b0f526a2b9c007
      https://github.com/llvm/llvm-project/commit/aa93659c9ffcf36dc1b0c70ce5b0f526a2b9c007
  Author: Nicolas Vasilache <ntv at google.com>
  Date:   2020-05-29 (Fri, 29 May 2020)

  Changed paths:
    A mlir/include/mlir/Dialect/SCF/Utils.h
    M mlir/lib/Dialect/SCF/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/SCF/Transforms/Utils.cpp
    A mlir/test/Transforms/loop-utils.mlir
    M mlir/test/lib/Transforms/CMakeLists.txt
    A mlir/test/lib/Transforms/TestSCFUtils.cpp
    M mlir/tools/mlir-opt/mlir-opt.cpp

  Log Message:
  -----------
  [mlir][SCF] Add utility to clone an scf.ForOp while appending new yield values.

This utility factors out the machinery required to add iterArgs and yield values to an scf.ForOp.

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




More information about the All-commits mailing list