aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCopyPropagation.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2025-02-10 16:29:42 +0000
committerGitHub <noreply@github.com>2025-02-10 16:29:42 +0000
commit3706dfef660097f24fb5efbac0d7f14b424492ed (patch)
treea9a388e365ed44f7dcc937e8c847f671275a8f07 /llvm/lib/CodeGen/MachineCopyPropagation.cpp
parent7ae78a6cdb6ce9ad1534ed10519649fb3d47aca9 (diff)
downloadllvm-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