diff options
author | Amara Emerson <amara@apple.com> | 2024-10-09 10:12:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-09 10:12:07 -0700 |
commit | 18d655fdcce4d17080e6cb2721f93f6db856277e (patch) | |
tree | 929c86f82852e15b9602fdfded13750ecc9729db /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | ec450b19004a653f3db3ad50e88fbf6529a9d841 (diff) | |
download | llvm-18d655fdcce4d17080e6cb2721f93f6db856277e.zip llvm-18d655fdcce4d17080e6cb2721f93f6db856277e.tar.gz llvm-18d655fdcce4d17080e6cb2721f93f6db856277e.tar.bz2 |
[SimplifyCFG][NFC] Improve compile time for TryToSimplifyUncondBranchFromEmptyBlock optimization. (#110715)
In some pathological cases this optimization can spend an unreasonable
amount of time populating the set for predecessors of the successor
block. This change sinks some of that initializing to the point where
it's actually necessary so we can take advantage of the existing
early-exits.
rdar://137063034
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions