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

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 12 01:17:09 PDT 2022


dmgreen 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))
----------------
Is this the same as getLoadStoreType?


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