Detemplatize convertRegion in DialectConversion
authorAlex Zinenko <zinenko@google.com>
Fri, 24 May 2019 14:00:29 +0000 (07:00 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 2 Jun 2019 03:00:04 +0000 (20:00 -0700)
commitfe2716aee374a94e668c6996f3502ef6220d9094
tree69ab6b017eee8e9d668c1a414e7964d0771c7588
parentcb348dff8aaceb21fd8ccb0ae9c310c5eba3f0e1
Detemplatize convertRegion in DialectConversion

    Originally, FunctionConverter::convertRegion in the DialectConversion framework
    was implemented as a function template because it was creating a new region in
    the parent object, which could have been an op or a function.  Since
    DialectConversion now operates in place, new region is no longer created so
    there is no need for convertRegion to be aware of the parent, only of the error
    reporting location.

--

PiperOrigin-RevId: 249826392
mlir/lib/Transforms/DialectConversion.cpp