The merging algorithm was previously not checking for type equivalence.
Fixes PR47314
Paths
| Differential D86594
[mlir] Fix bug in block merging when the types of the operands differ ClosedPublic Authored by rriddle on Aug 26 2020, 1:01 AM.
Details Summary The merging algorithm was previously not checking for type equivalence. Fixes PR47314
Diff Detail
Event TimelineHerald added subscribers: stephenneuendorffer, nicolasvasilache. · View Herald TranscriptAug 26 2020, 1:01 AM Comment Actions LGTM
This revision is now accepted and ready to land.Aug 26 2020, 1:05 AM This revision was landed with ongoing or failed builds.Aug 26 2020, 1:17 AM Closed by commit rG474f7639e349: [mlir] Fix bug in block merging when the types of the operands differ (authored by rriddle). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 287859 mlir/lib/Transforms/Utils/RegionUtils.cpp
mlir/test/Transforms/canonicalize-block-merge.mlir
|
You're not checking anything here though, just relying on the verifier?