[PATCH] D158965: [LAA] Analyze pointers forked by a phi

Allen zhong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 1 08:59:29 PDT 2023


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


================
Comment at: llvm/lib/Analysis/LoopAccessAnalysis.cpp:930
+    } else
+      ScevList.emplace_back(Scev, !isGuaranteedNotToBeUndefOrPoison(Ptr));
+    break;
----------------
fhahn wrote:
> Test case for this case?
hi @fhahn, thanks for your comment.
  I add a new test **forked_ptrs_with_different_base3 ** which have 3 operators of the PhiNode.


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

https://reviews.llvm.org/D158965



More information about the llvm-commits mailing list