search for: 455377c0

Displaying 1 result from an estimated 1 matches for "455377c0".

2016 Feb 07
3
[PATCH] strlen -> strnlen optimization
Joerg Sonnenberger wrote: > On Sat, Feb 06, 2016 at 11:05:14PM -0500, Michael McConville via llvm-dev wrote: > > This addition converts strlen() calls to strnlen() when the result is > > compared to a constant. For example, the following: > > > > strlen(s) < 5 > > > > Becomes: > > > > strnlen(s, 5) < 5 > > > > That way, we