[PATCH] D134611: [LoopVersioning,LLE] Clear LoopAccessInfoManager after making changes.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 25 13:01:21 PDT 2022


fhahn created this revision.
fhahn added reviewers: aeubanks, asbirlea, Meinersbur.
Herald added subscribers: javed.absar, hiraditya.
Herald added a project: All.
fhahn requested review of this revision.
Herald added a project: LLVM.

Loop versioning changes the control-flow, which may impact SCEVs cached
by for other loops in LoopAccessInfoManager. Clear the manager after
making changes.

Fixes #57825.

Depends on D134609 <https://reviews.llvm.org/D134609>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134611

Files:
  llvm/lib/Transforms/Scalar/LoopLoadElimination.cpp
  llvm/lib/Transforms/Utils/LoopVersioning.cpp
  llvm/test/Transforms/LoopLoadElim/invalidate-laa-after-versioning.ll
  llvm/test/Transforms/LoopVersioning/invalidate-laa-after-versioning.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134611.462755.patch
Type: text/x-patch
Size: 16967 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220925/31ccf713/attachment.bin>


More information about the llvm-commits mailing list