[llvm-dev] Redefining optnone to help LTO

Philip Reames via llvm-dev
Sat, 14 Jan 2017 05:43:09 -0000

I would prefer we introduce a new attribute for this purpose.  I
regularly use optnone for debugging/reduction purposes or when trying to
understand the interaction of our pass pipeline.  Having an attribute
that tells the optimizer to ignore a function (more or less) is really
useful, and I'd rather not loose that functionality.

Philip


On 01/11/2017 08:34 AM, Robinson, Paul via llvm-dev
wrote: