[all-commits] [llvm/llvm-project] cfc741: [LoopPeel] Forget SCEV for updated exit phi values.

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Jun 20 04:20:02 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cfc741bc0e029e931e9188a201de0567b00bc0fd
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-06-20 (Mon, 20 Jun 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopPeel.cpp
    M llvm/test/Transforms/LoopUnroll/scevunroll.ll

  Log Message:
  [LoopPeel] Forget SCEV for updated exit phi values.

LoopPeel add new incoming values to exit phi nodes which can change the
SCEV for the phi after 20d798bd47ec51.

Forget SCEVs for such phis.

Fixes #56044.

Reviewed By: nikic

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

More information about the All-commits mailing list