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 26d9f85 commit bccf2c8Copy full SHA for bccf2c8
clang/utils/TableGen/RISCVVEmitter.cpp
@@ -290,7 +290,7 @@ unsigned SemaSignatureTable::getIndex(ArrayRef<PrototypeDescriptor> Signature) {
290
return 0;
291
292
// Checking Signature already in table or not.
293
- if (Signature.size() < SignatureTable.size()) {
+ if (Signature.size() <= SignatureTable.size()) {
294
size_t Bound = SignatureTable.size() - Signature.size() + 1;
295
for (size_t Index = 0; Index < Bound; ++Index) {
296
if (equal(Signature.begin(), Signature.end(),
0 commit comments