Allow support for specifying empty IVs in an affine.parallel.
For example:
affine.parallel () = () to () { affine.yield }
Paths
| Differential D102895
[MLIR] Add support for empty IVs to affine.parallel ClosedPublic Authored by flaub on May 20 2021, 7:10 PM.
Details Summary Allow support for specifying empty IVs in an affine.parallel. For example: affine.parallel () = () to () { affine.yield }
Diff Detail
Event TimelineHerald added subscribers: dcaballe, cota, teijeong and 16 others. · View Herald TranscriptMay 20 2021, 7:10 PM Comment Actions LGTM. Just a request to update documentation.
This revision is now accepted and ready to land.May 21 2021, 10:54 PM Closed by commit rGb5c3f17e70e7: [MLIR] Add support for empty IVs to affine.parallel (authored by flaub). · Explain WhyMay 26 2021, 4:45 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 348119 mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
mlir/lib/Dialect/Affine/IR/AffineOps.cpp
mlir/test/Dialect/Affine/ops.mlir
|
I think the documentation needs to be updated to say this is allowed.