[clang] [clang][CodeGen] Omit pre-opt link when post-opt is link requested (PR #85672)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Wed May 1 12:49:14 PDT 2024


jhuber6 wrote:

> > Currently if a user doesn't supply the new "-link-builtin-bitcodes-postopt" option, linking builtin bitcodes happens first, then the optimization pipeline follows. Does that cover the case you're talking about?
> 
> I'm thinking of an option that developers can use. If -link-builtin-bitcodes-postopt, becomes the default, how can developers disable it?

Presumably you'd add `--no-link-builtin-bitcodes-postopt`.

https://github.com/llvm/llvm-project/pull/85672


More information about the cfe-commits mailing list