[FunctionAttrs] Enable nonnull arg propagation
authorDavid Bolvansky <david.bolvansky@gmail.com>
Mon, 23 Sep 2019 09:58:02 +0000 (09:58 +0000)
committerDavid Bolvansky <david.bolvansky@gmail.com>
Mon, 23 Sep 2019 09:58:02 +0000 (09:58 +0000)
commitd90fd41f7e6c3a3ea9f1c0b0fec97576e4f4764c
treef9fda2adb000235885941fdbc6c97a31fde72bb5
parent48d38ca6ac1ae2906fadbd7fcd067f9c7d641cf5
[FunctionAttrs] Enable nonnull arg propagation

Enable flag introduced in rL294998. Security concerns are no longer valid, since function signatures for mentioned libc functions has no nonnull attribute (Clang does not generate them? I see no nonnull attr in LLVM IR for these functions) and since rL372091 we carefully annotate the callsites where we know that size is static, non zero. So let's enable this flag again..

llvm-svn: 372573
llvm/lib/Transforms/IPO/FunctionAttrs.cpp