[mlir][LLVM] NFC - Refactor a lookupOrCreateFn to reuse common function creation.
authorNicolas Vasilache <nicolas.vasilache@gmail.com>
Thu, 11 Feb 2021 15:30:39 +0000 (15:30 +0000)
committerNicolas Vasilache <nicolas.vasilache@gmail.com>
Thu, 11 Feb 2021 15:52:33 +0000 (15:52 +0000)
commite332c22cdf54d16974f445ba4345cd2a76d7fc6a
treeb7f148bf2d14d40d23fee56965b0d1f6e73ff7db
parent19b4d3ce27d5c8ed19bf08cdceb4c03608d2c66d
[mlir][LLVM] NFC - Refactor a lookupOrCreateFn to reuse common function creation.

Differential revision: https://reviews.llvm.org/D96488
mlir/include/mlir/Dialect/LLVMIR/FunctionCallUtils.h [new file with mode: 0644]
mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
mlir/lib/Dialect/LLVMIR/CMakeLists.txt
mlir/lib/Dialect/LLVMIR/IR/FunctionCallUtils.cpp [new file with mode: 0644]