[all-commits] [llvm/llvm-project] 3706df: [LV] Forget LCSSA phi with new pred before other S...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Mon Feb 10 08:30:05 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3706dfef660097f24fb5efbac0d7f14b424492ed
https://github.com/llvm/llvm-project/commit/3706dfef660097f24fb5efbac0d7f14b424492ed
Author: Florian Hahn <flo at fhahn.com>
Date: 2025-02-10 (Mon, 10 Feb 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
A llvm/test/Transforms/LoopVectorize/invalidate-scev-at-scope-after-vectorization.ll
Log Message:
-----------
[LV] Forget LCSSA phi with new pred before other SCEV invalidation. (#119897)
`forgetLcssaPhiWithNewPredecessor` performs additional invalidation if
there is an existing SCEV for the phi, but earlier
`forgetBlockAndLoopDispositions` or `forgetLoop` may already invalidate
the SCEV for the phi.
Change the order to first call `forgetLcssaPhiWithNewPredecessor` to
ensure it runs before its SCEV gets invalidated too eagerly.
Fixes https://github.com/llvm/llvm-project/issues/119665.
PR: https://github.com/llvm/llvm-project/pull/119897
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list