Move function template definition to the header file. NFC
authorAlex Zinenko <zinenko@google.com>
Wed, 18 Dec 2019 17:04:42 +0000 (09:04 -0800)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Wed, 18 Dec 2019 17:10:23 +0000 (09:10 -0800)
commit24ab8362f2099ed42f2e05f09fb9323ad0c5ab27
tree6f87e1b72a84ee682f5fdf77ee5c21bcf2acc0cf
parentabcf5ff0cc6813764cf9a18789bdef96f369eb3c
Move function template definition to the header file. NFC

The definition of the function template LLVM::ModuleTranslation::lookupValues
has been located in a source file. As long as it has been the only file that
actually called into the function, this did not cause any problem. However, it
creates linking issues if the function is used from other translation units.

PiperOrigin-RevId: 286203078
mlir/include/mlir/Target/LLVMIR/ModuleTranslation.h
mlir/lib/Target/LLVMIR/ModuleTranslation.cpp