[llvm-dev] Revisiting/refining the definition of optnone with interprocedural transformations

via llvm-dev llvm-dev at lists.llvm.org
Thu Apr 22 11:41:29 PDT 2021


I'll just say,

> If you want "separate non-LTO" behavior by design, put it in a
> different file and don't compile that file with LTO ;)

that is impractical in many build systems, and an excessive amount
of work if you want to selectively build a some code with -O0
because you're debugging something at the moment.
--paulr



More information about the llvm-dev mailing list