We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a3254f commit 5ba1a1cCopy full SHA for 5ba1a1c
llvm/include/llvm/CodeGen/PBQP/Math.h
@@ -57,9 +57,7 @@ class Vector {
57
/// Comparison operator.
58
bool operator==(const Vector &V) const {
59
assert(Length != 0 && Data && "Invalid vector");
60
- if (Length != V.Length)
61
- return false;
62
- return std::equal(begin(), end(), V.begin());
+ return llvm::equal(*this, V);
63
}
64
65
/// Return the length of the vector
0 commit comments