When attempting to compute a differential orderIndex we were calculating the
bailout condition correctly, but then an errant "+ 1" meant the orderIndex we
created was invalid.
Added test.
Paths
| Differential D89115
[mlir] Fix bug in computing operation order ClosedPublic Authored by jmolloy on Oct 9 2020, 3:55 AM.
Details
Summary When attempting to compute a differential orderIndex we were calculating the Added test.
Diff Detail
Event TimelineHerald added subscribers: stephenneuendorffer, nicolasvasilache. · View Herald TranscriptOct 9 2020, 3:55 AM This revision is now accepted and ready to land.Oct 9 2020, 4:00 AM This revision was landed with ongoing or failed builds.Oct 9 2020, 4:19 AM Closed by commit rG8bdbe2951923: [mlir] Fix bug in computing operation order (authored by jmolloy). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 297180 mlir/lib/IR/Operation.cpp
mlir/unittests/IR/OperationSupportTest.cpp
|
Style nit: MLIR doesn't use const on stack variables.