[mlir][DialectConversion] Fix recursive `clone` calls.
authorSean Silva <silvasean@google.com>
Mon, 19 Oct 2020 04:10:55 +0000 (21:10 -0700)
committerSean Silva <silvasean@google.com>
Mon, 19 Oct 2020 22:51:46 +0000 (15:51 -0700)
commit7885bf8b78e21a29e27c598e0aed602de8f15260
treea0951f281b472a2bebe73ef9681ab365727be13b
parentf4abd3ed6d95e66470a0c8cc132e61782896527a
[mlir][DialectConversion] Fix recursive `clone` calls.

The framework was not tracking ops created in any regions of the cloned
op.

Differential Revision: https://reviews.llvm.org/D89668
mlir/include/mlir/IR/Builders.h
mlir/lib/IR/Builders.cpp
mlir/test/Dialect/Standard/bufferize.mlir