Detemplatize ModuleTranslation::lookupValues
authorAlex Zinenko <zinenko@google.com>
Thu, 19 Dec 2019 19:34:43 +0000 (11:34 -0800)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 19 Dec 2019 19:35:57 +0000 (11:35 -0800)
commitefadb6b8388344bcf13b739fdc22dd8812df5b3b
tree83ac0a30532507df12bc8c6d5207a52ecf934086
parent50f9be6d2d62d36a5c7d6d11d8ed413dc91a4fca
Detemplatize ModuleTranslation::lookupValues

This function template has been introduced in the early days of MLIR to work
around the absence of common type for ranges of values (operands, block
argumeents, vectors, etc). Core IR now provides ValueRange for exactly this
purpose. Use it instead of the template parameter.

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