This fillRow(..., 0) is redundant because when the size of the tableau is
consistent, the resize always creates a new row, which is zero-initialized.
Also added asserts throughout to ensure the dimensions of the tableau remain
consistent.
Paths
| Differential D126709
[MLIR][Presburger] Simplex: remove redundant zeroing out of row ClosedPublic Authored by arjunp on May 31 2022, 10:13 AM.
Details Summary This fillRow(..., 0) is redundant because when the size of the tableau is Also added asserts throughout to ensure the dimensions of the tableau remain
Diff Detail
Event Timelinearjunp retitled this revision from [MLIR][Presburger] Simplex: remove redundant fillRow with zero to [MLIR][Presburger] Simplex: remove redundant zeroing out of row.May 31 2022, 10:15 AM
This revision is now accepted and ready to land.May 31 2022, 3:19 PM Closed by commit rG8f99cdd27cd4: [MLIR][Presburger] Simplex: remove redundant zeroing out of row (authored by arjunp). · Explain WhyJun 1 2022, 8:59 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 433424 mlir/lib/Analysis/Presburger/Simplex.cpp
|
I think we can do it as part of this patch itself. Seems like a simple find and replace.