[all-commits] [llvm/llvm-project] e302fa: [LoopUnroll] Forget exit values when making changes.
Florian Hahn via All-commits
all-commits at lists.llvm.org
Tue Oct 18 07:15:06 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e302fa89aa45afceedb711a264cfc486395aca17
https://github.com/llvm/llvm-project/commit/e302fa89aa45afceedb711a264cfc486395aca17
Author: Florian Hahn <flo at fhahn.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M llvm/lib/Transforms/Utils/LoopUnroll.cpp
M llvm/test/Transforms/LoopUnroll/scev-forget-exit-phis.ll
Log Message:
-----------
[LoopUnroll] Forget exit values when making changes.
When unrolling, the exit values in LCSSA phis will get updated.
Invalidate cached SCEV values for those phis in case SCEV looked through
a exit phi.
Fixes #58340.
More information about the All-commits
mailing list