This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Fix bug in simplify affine map with operands
ClosedPublic

Authored by bondhugula on Nov 23 2022, 8:55 AM.

Details

Summary

Fix bug in simplify affine map with operands utility; the wrong LHS and
RHS were being used in some cases post simplification. While on this,
also handle a corner case of undefined expressions.

Diff Detail

Event Timeline

bondhugula created this revision.Nov 23 2022, 8:55 AM
bondhugula requested review of this revision.Nov 23 2022, 8:55 AM
ftynse accepted this revision.Nov 23 2022, 10:29 AM
This revision is now accepted and ready to land.Nov 23 2022, 10:29 AM
This revision was automatically updated to reflect the committed changes.