HomePhabricator

[mlir] Fix bug in block merging when the types of the operands differ

Authored by rriddle on Aug 26 2020, 1:13 AM.

Description

[mlir] Fix bug in block merging when the types of the operands differ

The merging algorithm was previously not checking for type equivalence.

Fixes PR47314

Differential Revision: https://reviews.llvm.org/D86594