[all-commits] [llvm/llvm-project] 99c433: [LoopDataPrefetch] Add missed LoopSimplify depende...

Andrew Wei via All-commits all-commits at lists.llvm.org
Thu Aug 26 06:18:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99c4336374bf8b296aacac18168b229bb295c12d
      https://github.com/llvm/llvm-project/commit/99c4336374bf8b296aacac18168b229bb295c12d
  Author: Andrew Wei <weiwei64 at huawei.com>
  Date:   2021-08-26 (Thu, 26 Aug 2021)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp
    M llvm/test/CodeGen/AArch64/O3-pipeline.ll
    A llvm/test/Transforms/LoopDataPrefetch/AArch64/pr43784.ll

  Log Message:
  -----------
  [LoopDataPrefetch] Add missed LoopSimplify dependence for prefetch pass

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

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D108448




More information about the All-commits mailing list