diff options
author | Kazu Hirata <kazu@google.com> | 2021-12-17 13:48:56 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2021-12-17 13:48:57 -0800 |
commit | 26bd534a79c2b5ced5033ffe1b04f69ece78636b (patch) | |
tree | 2d3f03fefd7869b636673c0811effca719cf64ad /llvm/lib/CodeGen/ImplicitNullChecks.cpp | |
parent | a8a51fe55649f5e07f9f2973507dc20bc4e40765 (diff) | |
download | llvm-26bd534a79c2b5ced5033ffe1b04f69ece78636b.zip llvm-26bd534a79c2b5ced5033ffe1b04f69ece78636b.tar.gz llvm-26bd534a79c2b5ced5033ffe1b04f69ece78636b.tar.bz2 |
[llvm] Use none_of instead of \!any_of (NFC)
Diffstat (limited to 'llvm/lib/CodeGen/ImplicitNullChecks.cpp')
-rw-r--r-- | llvm/lib/CodeGen/ImplicitNullChecks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ImplicitNullChecks.cpp b/llvm/lib/CodeGen/ImplicitNullChecks.cpp index 0882ce3..fc97938 100644 --- a/llvm/lib/CodeGen/ImplicitNullChecks.cpp +++ b/llvm/lib/CodeGen/ImplicitNullChecks.cpp @@ -242,7 +242,7 @@ bool ImplicitNullChecks::canHandle(const MachineInstr *MI) { auto IsRegMask = [](const MachineOperand &MO) { return MO.isRegMask(); }; (void)IsRegMask; - assert(!llvm::any_of(MI->operands(), IsRegMask) && + assert(llvm::none_of(MI->operands(), IsRegMask) && "Calls were filtered out above!"); auto IsUnordered = [](MachineMemOperand *MMO) { return MMO->isUnordered(); }; |