[PATCH] D73527: [Attributor] Collect memory accesses with their respective kind and location

Hideto Ueno via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 14 18:28:40 PST 2020


uenoku accepted this revision.
uenoku added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/lib/Transforms/IPO/Attributor.cpp:6089
+      for (const AccessInfo &AI : Accesses)
+        if (!Pred(*AI.I, AI.Ptr, AI.Kind, CurMLK))
+          return false;
----------------
Please insert null check for `AI.I `


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73527





More information about the llvm-commits mailing list