CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2017/02/25 09:53:02

Modified files:
        gnu/llvm/lib/Transforms/Scalar: LoopIdiomRecognize.cpp 

Log message:
Disable loop idiom recognition for _libc_memset and _libc_memcpy.  These are
the internal names we use in libc for memset and memcpy and having the
compiler optimize them as calls to memset and memcpy will lead to infinite
recursion.

This is a temporary solution while guenther@ tries to figure out a better
way to force calls from inside libc via identifiers that are of hidden
visibility.

ok jsg@, patrick@

Reply via email to