aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-02-04 09:10:40 -0800
committerGitHub <noreply@github.com>2025-02-04 09:10:40 -0800
commit0c7bd879d28a37e215c0cf02b383e224bc9f2ebf (patch)
treeff057982798b954bacd7ba75801baebe8b8825c7 /clang/lib/Frontend/CompilerInvocation.cpp
parenta207f6072796e90c19e8110ba2317a96129cf3c2 (diff)
downloadllvm-0c7bd879d28a37e215c0cf02b383e224bc9f2ebf.zip
llvm-0c7bd879d28a37e215c0cf02b383e224bc9f2ebf.tar.gz
llvm-0c7bd879d28a37e215c0cf02b383e224bc9f2ebf.tar.bz2
[IPO] Avoid repeated hash lookups (NFC) (#125639)
The two "if" conditions are mutually exclusive, so we can put them in any order. Reversing the order allows us to remove Blocks.contains(IncomingBlock) in one of the "if" conditions.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions