Allow configuring InlinerThreshold in C bindings for the new pass manager
authorDmitry Dolgov <9erthalion6@gmail.com>
Thu, 1 Jun 2023 15:56:00 +0000 (08:56 -0700)
committerArthur Eubanks <aeubanks@google.com>
Thu, 1 Jun 2023 20:00:35 +0000 (13:00 -0700)
commitc20a9bb001855da5d14721ce2894e3be77a999fe
treeb148144f816877b41bd442e2223a6e97f263a5e4
parent0e1fa9174072a3b896533d151336884e4eb1486a
Allow configuring InlinerThreshold in C bindings for the new pass manager

C bindings for the new pass manager seem to allow to set any option from LLVMPassBuilderOptions, except InlinerThreshold. Allow to configure it as well.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D151832
llvm/include/llvm-c/Transforms/PassBuilder.h
llvm/lib/Passes/PassBuilderBindings.cpp