[PATCH] D119078: [LAA, LV] Add initial support for pointer-diff memory checks.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 4 10:03:38 PDT 2022


fhahn added inline comments.


================
Comment at: llvm/lib/Analysis/LoopAccessAnalysis.cpp:249
+
+  auto &PtrI = Pointers[CGI.Members[0]];
+  auto &PtrJ = Pointers[CGJ.Members[0]];
----------------
dmgreen wrote:
> I find its best not to overuse auto when the type isn't obvious. This is a PointerInfo?
Agreed, updated most uses of `auto` that do not use `dyn_cast`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119078



More information about the llvm-commits mailing list