]> granicus.if.org Git - llvm/commit
[Attributor][FIX] NullPointerIsDefined needs the pointer AS (AANonNull)
authorJohannes Doerfert <jdoerfert@anl.gov>
Sun, 13 Oct 2019 20:48:26 +0000 (20:48 +0000)
committerJohannes Doerfert <jdoerfert@anl.gov>
Sun, 13 Oct 2019 20:48:26 +0000 (20:48 +0000)
commit6f5d69720fe791bbdf657b9c0e2bcdf6f0250b83
treef08d85e992e1c39ab2b1dfab30f55d0adc699094
parentd552441802ce98fcac32be1b4c121d2fad4dca8c
[Attributor][FIX] NullPointerIsDefined needs the pointer AS (AANonNull)

Also includes a shortcut via AADereferenceable if possible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374737 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/Attributor.cpp
test/Transforms/FunctionAttrs/noalias_returned.ll
test/Transforms/FunctionAttrs/nonnull.ll
test/Transforms/FunctionAttrs/nounwind.ll
test/Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll