[PATCH] D76194: [BasicAA] Use known lower bounds for index values for size based check.

Alina Sbirlea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 21 17:53:18 PDT 2020


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

lgtm.



================
Comment at: llvm/lib/Analysis/BasicAliasAnalysis.cpp:613
+                .sextOrTrunc(MaxPointerSize);
+        // We we find a non-negative lower bound for the index value, we can
+        // improve the known offset to include it. By just using non-negative
----------------
s/We we find/If we find


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76194





More information about the llvm-commits mailing list