[all-commits] [llvm/llvm-project] 4f8273: [LoopVersioning, LLE] Clear LoopAccessInfoManager a...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Oct 4 13:36:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f827318e3e8ccab4ff131e06234caa827e91e4e
      https://github.com/llvm/llvm-project/commit/4f827318e3e8ccab4ff131e06234caa827e91e4e
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-10-04 (Tue, 04 Oct 2022)

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

  Log Message:
  -----------
  [LoopVersioning,LLE] Clear LoopAccessInfoManager after making changes.

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.

Reviewed By: aeubanks

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




More information about the All-commits mailing list