This is an archive of the discontinued LLVM Phabricator instance.

[mlir][llvm] Add isVarArg flag to lookupOrCreateFn.
ClosedPublic

Authored by ingomueller-net on Feb 17 2023, 3:56 AM.

Details

Summary

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.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald Transcript
ingomueller-net requested review of this revision.Feb 17 2023, 3:56 AM
Herald added a project: Restricted Project. · View Herald Transcript
springerm accepted this revision.Feb 21 2023, 12:27 AM
This revision is now accepted and ready to land.Feb 21 2023, 12:27 AM