diff options
author | Florian Hahn <flo@fhahn.com> | 2025-02-10 16:29:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-10 16:29:42 +0000 |
commit | 3706dfef660097f24fb5efbac0d7f14b424492ed (patch) | |
tree | a9a388e365ed44f7dcc937e8c847f671275a8f07 /llvm/lib/CodeGen/MachineCopyPropagation.cpp | |
parent | 7ae78a6cdb6ce9ad1534ed10519649fb3d47aca9 (diff) | |
download | llvm-3706dfef660097f24fb5efbac0d7f14b424492ed.zip llvm-3706dfef660097f24fb5efbac0d7f14b424492ed.tar.gz llvm-3706dfef660097f24fb5efbac0d7f14b424492ed.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions