[PATCH] D108448: [LoopDataPrefetch] Add missed LoopSimplify dependence for prefetch pass

weiwei via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 20 00:22:53 PDT 2021


wwei created this revision.
wwei added reviewers: anemet, Meinersbur, t.p.northover.
wwei added a project: LLVM.
Herald added subscribers: javed.absar, hiraditya.
wwei requested review of this revision.
Herald added a subscriber: llvm-commits.

`SCEVExpander::expandCodeFor` may expand add recurrences  for loop with a preheader, so we should make LoopDataPrefetch dependent on LoopSimplify.

This patch will try to fix : https://bugs.llvm.org/show_bug.cgi?id=43784


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108448

Files:
  llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp
  llvm/test/CodeGen/AArch64/O3-pipeline.ll
  llvm/test/Transforms/LoopDataPrefetch/AArch64/pr43784.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108448.367725.patch
Type: text/x-patch
Size: 7337 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210820/aa2737d7/attachment.bin>


More information about the llvm-commits mailing list