commit | b7c5e0b02ccfd12b26432b2408a71d4c05902339 | [log] [tgz] |
---|---|---|
author | Kazu Hirata <kazu@google.com> | Fri Jan 08 18:39:53 2021 -0800 |
committer | Kazu Hirata <kazu@google.com> | Fri Jan 08 18:39:54 2021 -0800 |
tree | 917120aa3f63ebc67c236ce4695f69bbc4692b40 | |
parent | 55f0a1b06632688f08eb616fe02674cf2e666080 [diff] [blame] |
[Target, Transforms] Use *Set::contains (NFC)
diff --git a/llvm/lib/CodeGen/LexicalScopes.cpp b/llvm/lib/CodeGen/LexicalScopes.cpp index 690b429..8139c2c 100644 --- a/llvm/lib/CodeGen/LexicalScopes.cpp +++ b/llvm/lib/CodeGen/LexicalScopes.cpp
@@ -324,7 +324,7 @@ Set = std::make_unique<BlockSetT>(); getMachineBasicBlocks(DL, *Set); } - return Set->count(MBB) != 0; + return Set->contains(MBB); } #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)