Files
clang-p2996/llvm/lib/CodeGen/LiveRangeShrink.cpp
Peter Collingbourne 4ed8bfd0c3 LiveRangeShrink: Early exit when encountering a code motion barrier.
Without this, we end up with quadratic behavior affecting functions with
large numbers of code motion barriers, such as CFI jump tables.

As a drive-by cleanup, remove a redundant store to SawStore in this
pass as it is also done by isSafeToMove.

Reviewers: arsenm

Reviewed By: arsenm

Pull Request: https://github.com/llvm/llvm-project/pull/136806
2025-04-24 12:44:51 -07:00

9.4 KiB