via llvm-dev
2021-Apr-22 18:41 UTC
[llvm-dev] Revisiting/refining the definition of optnone with interprocedural transformations
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
Johannes Doerfert via llvm-dev
2021-Apr-22 19:29 UTC
[llvm-dev] Revisiting/refining the definition of optnone with interprocedural transformations
On 4/22/21 1:41 PM, paul.robinson at sony.com wrote:> 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.Fair, it was also not my suggestion how to approach this, that came in the following paragraph. Generally, I'd prefer if we do not pick sentences than end with a smiley out of context, there is little gain in that. ~ Johannes> --paulr >