]> granicus.if.org Git - llvm/commit
[Attributor] Use the AANoNull attribute directly in AADereferenceable
authorJohannes Doerfert <jdoerfert@anl.gov>
Wed, 14 Aug 2019 21:31:32 +0000 (21:31 +0000)
committerJohannes Doerfert <jdoerfert@anl.gov>
Wed, 14 Aug 2019 21:31:32 +0000 (21:31 +0000)
commit8e521dae89ed0672f965d7c148d4ecc529616734
tree783a1d15651e326356178380541a1b49f6584b52
parenta0528955b654ba76bb7c9e055e9cf670e51493b3
[Attributor] Use the AANoNull attribute directly in AADereferenceable

Summary:
Instead of constantly keeping track of the nonnull status with the
dereferenceable information we can simply query the nonnull attribute
whenever we need the information (debug + manifest).

Reviewers: sstefan1, uenoku

Subscribers: hiraditya, bollu, jfb, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D66113

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368924 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/IPO/Attributor.h
lib/Transforms/IPO/Attributor.cpp