[llvm] -fno-plt: Infer nonlazybind at -O0 (PR #97873)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 16:53:02 PDT 2024


efriedma-quic wrote:

I'm mostly concerned about expanding the set of "mandatory pre-codegen" passes.  We have a good story in CodeGen itself for scheduling mandatory and non-mandatory passes, and skipping passes, and serializing/restarting the pipeline.   But pre-CodeGen passes fall into a weird void: you can get pre-mandatory-pass IR, and post-mandatory-pass IR, and you can't tell which one you have at a glance.

So I'd prefer to do any kind of mandatory lowering either in the frontend, or in CodeGen.

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


More information about the llvm-commits mailing list