[llvm-dev] RFC: LTO should use -disable-llvm-verifier

David Blaikie via llvm-dev llvm-dev at lists.llvm.org
Sat Aug 29 17:59:08 PDT 2015


For cc1 we disable it for IR generated immediately by clang. We don't
disable it for IR or bitcode inouts provided by the user.

So I'd be a bit hesitant to disable it for lto because it is an
unrestricted input at lto time.

(But this is hardly my wheelhouse. So grain of salt and all)
On Aug 29, 2015 3:04 PM, "Duncan P. N. Exon Smith via llvm-dev" <
llvm-dev at lists.llvm.org> wrote:

> The verifier takes ~5% of link time when using LTO.  I think we
> should add a `-disable-llvm-verifier` option to the LTO plugins, and
> change the clang driver to pass the option through in release builds.
> In asserts builds, the clang driver would not pass the option.
>
> This would match the way the driver passes -disable-llvm-verifier to
> -cc1.
>
> Everyone on board?
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150829/b12329f5/attachment.html>


More information about the llvm-dev mailing list