We recently introduced support for building loops or loop nests using callbacks
that populate the body. Use these in the tutorial instead of setInsertionPoint
manipulations.
Depends On D81955
Paths
| Differential D82104
[mlir] Update Toy tutorial to use callback-based loop constructors ClosedPublic Authored by ftynse on Jun 18 2020, 8:54 AM.
Details Summary We recently introduced support for building loops or loop nests using callbacks Depends On D81955
Diff Detail
Event Timelinerriddle added inline comments. This revision is now accepted and ready to land.Jun 18 2020, 9:52 AM
Closed by commit rG68628c94cdf7: [mlir] Update Toy tutorial to use callback-based loop constructors (authored by ftynse). · Explain WhyJun 18 2020, 2:17 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 271849 mlir/examples/toy/Ch5/mlir/LowerToAffineLoops.cpp
mlir/examples/toy/Ch6/mlir/LowerToAffineLoops.cpp
mlir/examples/toy/Ch7/mlir/LowerToAffineLoops.cpp
|
nit: One of these is Value and the other is value.