[PATCH] D80656: [mlir][SCF] Add utility to clone an scf.ForOp while appending new yield values.

Nicolas Vasilache via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 27 13:02:49 PDT 2020


nicolasvasilache created this revision.
nicolasvasilache added reviewers: ftynse, herhut, pifon2a.
Herald added subscribers: llvm-commits, jurahul, Kayjukh, frgossen, grosul1, Joonsoo, stephenneuendorffer, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, antiagainst, shauheen, jpienaar, rriddle, mehdi_amini, mgorny.
Herald added a project: LLVM.
nicolasvasilache updated this revision to Diff 266634.
nicolasvasilache added a comment.
nicolasvasilache added a reviewer: bkramer.
nicolasvasilache updated this revision to Diff 266635.

Drop spurious changes to unrelated parts of the code.


nicolasvasilache added a comment.

Revert spurious changes.


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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80656

Files:
  mlir/include/mlir/Transforms/LoopUtils.h
  mlir/lib/Transforms/Utils/LoopUtils.cpp
  mlir/test/Transforms/loop-utils.mlir
  mlir/test/lib/Transforms/CMakeLists.txt
  mlir/test/lib/Transforms/TestLoopUtils.cpp
  mlir/tools/mlir-opt/mlir-opt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80656.266635.patch
Type: text/x-patch
Size: 10061 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200527/52f82fc6/attachment.bin>


More information about the llvm-commits mailing list