llvm-project/llvm/test/Transforms/InferFunctionAttrs
Juneyoung Lee 67aac915ba [BuildLibCalls] Add noundef to the returned pointers of allocators and argument of free
This patch adds noundef to the returned pointers of allocators (malloc, calloc, ...)
and the pointer argument of free.
The returned pointer of allocators cannot be poison or (partially) undef.
Since the pointer that is given to free should precisely have zero offset,
it cannot be poison or (partially) undef too.

For the size arguments of allocators, noundef wasn't attached simply because
I wasn't sure whether attaching it is okay or not.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D87984
2020-09-30 02:13:48 +09:00
..
annotate.ll [BuildLibCalls] Add noundef to the returned pointers of allocators and argument of free 2020-09-30 02:13:48 +09:00
dereferenceable.ll [Attributor] Copy or port test cases related to Attributor to` Attributor` test folder 2019-12-02 15:36:29 +00:00
no-proto.ll
norecurse_debug.ll [llvm] Fix missing FileCheck directive colons 2020-04-06 09:59:08 -06:00
pr30455.ll