Skip to content

Commit

Permalink
[NFC] Modify the comment to reflect the changes in decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
0x59616e committed May 10, 2022
1 parent 88c336d commit 1284ce9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions llvm/utils/TableGen/DecoderEmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2253,13 +2253,12 @@ static void emitFieldFromInstruction(formatted_raw_ostream &OS) {
<< "// InsnType must either be integral or an APInt-like object that "
"must:\n"
<< "// * be default-constructible and copy-constructible\n"
<< "// * be constructible from a uint64_t\n"
<< "// * be constructible from an APInt (this can be private)\n"
<< "// * Support insertBits(bits, startBit, numBits)\n"
<< "// * Support extractBitsAsZExtValue(numBits, startBit)\n"
<< "// * be convertible to bool\n"
<< "// * Support the ~, &, ==, and != operators with other objects of "
"the same type\n"
<< "// * Support the != and bitwise & with uint64_t\n"
<< "// * Support put (<<) to raw_ostream&\n"
<< "template <typename InsnType>\n"
<< "#if defined(_MSC_VER) && !defined(__clang__)\n"
Expand Down

0 comments on commit 1284ce9

Please sign in to comment.