[PATCH] D146958: [SCEV] Do not plant SCEV checks unnecessarily

Paul Osmialowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 07:10:54 PDT 2023


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


================
Comment at: llvm/lib/Analysis/VectorUtils.cpp:1163
+      // sense to add it here.
+      if (TheLoop->isLoopInvariant(Ptr))
+        continue;
----------------
fhahn wrote:
> Is this needed?
Apparently not.



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146958



More information about the llvm-commits mailing list