[PATCH] D11948: Add some macros to abstract marking of parameters as "not null", and use them in <cstring>
Joerg Sonnenberger via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 13 06:29:47 PDT 2015
On Wed, Aug 12, 2015 at 07:18:05PM -0500, Hal Finkel via cfe-commits wrote:
> I could say the same thing about many optimizations -- I spend a lot
> of time tracking down bugs they expose -- the real thing to investigate
> here are the potential benefits to real code from performing the
> optimization. I'm generally in favor of these kinds of optimizations
> because they tend to lower abstraction penalties, but actual data here
> would be helpful.
I would be interested in real world examples where this optimisation is
benefical. This one seems to be especially obnoxious as it forces
additional branches for portable code.
More information about the cfe-commits