[PATCH] D50125: [FunctionAttrs] Annotate function arguments with call site information

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 2 07:44:03 PDT 2018


jdoerfert added inline comments.


================
Comment at: lib/Transforms/IPO/FunctionAttrs.cpp:1196
+
+      // Combine dereferenceableOrNull and nonNull to dereferenceable.
+      if (AA.Attrs.hasNonNullAttr() &&
----------------
Here we need to check NullPointerIsDefined too.


Repository:
  rL LLVM

https://reviews.llvm.org/D50125





More information about the llvm-commits mailing list