diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2025-04-24 12:44:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-24 12:44:51 -0700 |
commit | 4ed8bfd0c3949dbf4e3042bd35eb274373e55cf7 (patch) | |
tree | d9f53fd2bca81ad3e25954e9a8e411b0f561ca72 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 37b135cc8f079483a3a969a79898e1d3933d0067 (diff) | |
download | llvm-4ed8bfd0c3949dbf4e3042bd35eb274373e55cf7.zip llvm-4ed8bfd0c3949dbf4e3042bd35eb274373e55cf7.tar.gz llvm-4ed8bfd0c3949dbf4e3042bd35eb274373e55cf7.tar.bz2 |
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions