[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
Tue Apr 12 02:25:48 PDT 2022


fhahn marked an inline comment as done.
fhahn added inline comments.


================
Comment at: llvm/lib/Analysis/LoopAccessAnalysis.cpp:283
+      SinkAR->getLoop()->getHeader()->getModule()->getDataLayout();
+  auto GetAccessedTy = [](Instruction *I) -> Type * {
+    if (auto *SI = dyn_cast<StoreInst>(I))
----------------
dmgreen wrote:
> Is this the same as getLoadStoreType?
Yes, updated, thanks!


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