HomePhabricator

[MLIR] Fix lowering of Affine IfOp in the presence of yield values.

Authored by Shukla-Gaurav on Wed, Mar 17, 3:18 AM.

Description

[MLIR] Fix lowering of Affine IfOp in the presence of yield values.

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.

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