This commit fixes the lowering of Affine.IfOp to SCF.IfOp in the
presence of yield values. These changes have been made as a part of
-lower-affine pass.
Relevant test case is added.
Paths
| Differential D98760
[MLIR] Fix lowering of Affine IfOp in the presence of yield values. ClosedPublic Authored by Shukla-Gaurav on Mar 16 2021, 10:12 PM.
Details Summary This commit fixes the lowering of Affine.IfOp to SCF.IfOp in the Relevant test case is added.
Diff Detail
Event TimelineHerald added subscribers: dcaballe, cota, teijeong and 16 others. · View Herald TranscriptMar 16 2021, 10:12 PM Comment Actions Thanks for fixing this! This revision is now accepted and ready to land.Mar 16 2021, 11:22 PM bondhugula retitled this revision from [MLIR] Add lowering of Affine IfOp in the presence of yield values. to [MLIR] Fix lowering of Affine IfOp in the presence of yield values..Mar 16 2021, 11:22 PM Closed by commit rG8e3075c2b07e: [MLIR] Fix lowering of Affine IfOp in the presence of yield values. (authored by Shukla-Gaurav, committed by bondhugula). · Explain WhyMar 17 2021, 4:04 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 331211 mlir/lib/Conversion/AffineToStandard/AffineToStandard.cpp
mlir/test/Conversion/AffineToStandard/lower-affine.mlir
|