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 0d2f55a commit 68b327eCopy full SHA for 68b327e
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -8035,7 +8035,7 @@ Error ModuleSummaryIndexBitcodeReader::parseEntireSummary(unsigned ID) {
8035
case bitc::FS_ALLOC_CONTEXT_IDS: {
8036
// This is an array of 32-bit fixed-width values, holding each 64-bit
8037
// context id as a pair of adjacent (most significant first) 32-bit words.
8038
- assert(!(Record.size() % 2));
+ assert(Record.size() % 2 == 0);
8039
PendingContextIds.reserve(Record.size() / 2);
8040
for (auto R = Record.begin(); R != Record.end(); R += 2)
8041
PendingContextIds.push_back(*R << 32 | *(R + 1));
0 commit comments