[PATCH] D86842: [Attributor][NFC] Fix dependency type in AAUndefinedBehaviorImpl::updateImpl

Shinji Okumura via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 29 18:15:18 PDT 2020


okura added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/AttributorAttributes.cpp:2077
               auto &NonNullAA = A.getAAFor<AANonNull>(
-                  *this, IRPosition::returned(*getAnchorScope()));
+                  *this, IRPosition::returned(*getAnchorScope()), /* TrackDependence */ true, DepClassTy::OPTIONAL);
               if (NonNullAA.isKnownNonNull())
----------------
jdoerfert wrote:
> clang-format the patch, also as above.
Something was wrong with Automatic formatting, sorry.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86842/new/

https://reviews.llvm.org/D86842



More information about the llvm-commits mailing list