[llvm-dev] Exposing the New Pass Manager in the LLVM C API
Mehdi AMINI via llvm-dev
llvm-dev at lists.llvm.org
Tue Oct 8 18:28:49 PDT 2019
On Tue, Oct 8, 2019 at 1:22 PM Michael Kruse via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Am Di., 8. Okt. 2019 um 07:33 Uhr schrieb Nicolai Hähnle-Montoro via
> llvm-dev <llvm-dev at lists.llvm.org>:
> > The stability expectations on the C interface are higher than those on
> > the C++ interface. You should treat the C API as stable as much as
> > possible. This means your option (2) -- adding a new parallel API for
> > the NewPM, while keeping the old PM API -- is really the only _real_
> > option that is available here.
>
> Does this mean that we will have to maintain two pass mangers forever?
This is a best effort stability, not a "guaranteed forever". This is
actually described here:
https://llvm.org/docs/DeveloperPolicy.html#c-api-changes
--
Mehdi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191008/4134ac08/attachment.html>
More information about the llvm-dev
mailing list