Insert signature-converted blocks into a region with a parent operation.
authorRiver Riddle <riverriddle@google.com>
Mon, 16 Dec 2019 20:09:14 +0000 (12:09 -0800)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Mon, 16 Dec 2019 20:09:45 +0000 (12:09 -0800)
commitab610e8a9961fb19f396ee4c2065261bd12b0013
tree3cbddea3cc7069c844d74ba124a776e04e3047ce
parented749b7689702587d369e241c596808f5d6b92cb
Insert signature-converted blocks into a region with a parent operation.

This keeps the IR valid and consistent as it is expected that each block should have a valid parent region/operation. Previously, converted blocks were kept floating without a valid parent region.

PiperOrigin-RevId: 285821687
mlir/include/mlir/IR/Block.h
mlir/lib/IR/Block.cpp
mlir/lib/Transforms/DialectConversion.cpp