aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2021-12-17 13:48:56 -0800
committerKazu Hirata <kazu@google.com>2021-12-17 13:48:57 -0800
commit26bd534a79c2b5ced5033ffe1b04f69ece78636b (patch)
tree2d3f03fefd7869b636673c0811effca719cf64ad /llvm/lib/CodeGen/TargetLoweringBase.cpp
parenta8a51fe55649f5e07f9f2973507dc20bc4e40765 (diff)
downloadllvm-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/TargetLoweringBase.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp
index c0a7eff..6fc6881 100644
--- a/llvm/lib/CodeGen/TargetLoweringBase.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp
@@ -1187,7 +1187,7 @@ TargetLoweringBase::emitPatchPoint(MachineInstr &InitialMI,
// all stack slots), but we need to handle the different type of stackmap
// operands and memory effects here.
- if (!llvm::any_of(MI->operands(),
+ if (llvm::none_of(MI->operands(),
[](MachineOperand &Operand) { return Operand.isFI(); }))
return MBB;