Fix a bug in detecting unknown ids as mods of known ids that was
preventing certain fusions.
While at this, fix the function signature of detectAsMod function to
have output as the last argument.
Paths
| Differential D152055
[Affine-fusion] Fix a bug in mod detection ClosedPublic Authored by vinayaka-bandishti on Jun 3 2023, 1:04 AM.
Details Summary Fix a bug in detecting unknown ids as mods of known ids that was While at this, fix the function signature of detectAsMod function to
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 3 2023, 1:19 AM Closed by commit rGc45c96250b42: [Affine-fusion] Fix a bug in mod detection (authored by vinayaka-polymage, committed by bondhugula). · Explain WhyJun 4 2023, 10:22 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 528284 mlir/lib/Analysis/FlatLinearValueConstraints.cpp
mlir/test/Transforms/loop-fusion-4.mlir
|
Missing update to the doc comment -- this one is pretty important. It's unclear what offset and num are otherwise.