[all-commits] [llvm/llvm-project] fd85a6: [mlir][llvm] Add isVarArg flag to lookupOrCreateFn.
Ingo Müller via All-commits
all-commits at lists.llvm.org
Tue Feb 21 00:34:13 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fd85a64ffbc06a9ec438d79deac1e06c91231362
https://github.com/llvm/llvm-project/commit/fd85a64ffbc06a9ec438d79deac1e06c91231362
Author: Ingo Müller <ingomueller at google.com>
Date: 2023-02-21 (Tue, 21 Feb 2023)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/FunctionCallUtils.h
M mlir/lib/Dialect/LLVMIR/IR/FunctionCallUtils.cpp
Log Message:
-----------
[mlir][llvm] Add isVarArg flag to lookupOrCreateFn.
The function is a helper for looking up a function by name or creating
it if it doesn't exist. The arguments allow to specify the signature of
the function, if it needs to be created, but do not expose the varArg
parameter of LLVMFunctionType. This patch exposes adds an optional
parameter with a default value of false such that existing usage
continue to work as before.
Reviewed By: springerm
Differential Revision: https://reviews.llvm.org/D144256
More information about the All-commits
mailing list