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 7fb8285 commit a207f60Copy full SHA for a207f60
llvm/utils/TableGen/Common/CodeGenTarget.cpp
@@ -262,8 +262,9 @@ void CodeGenTarget::ReadInstructions() const {
262
263
// Parse the instructions defined in the .td file.
264
for (const Record *R : Insts) {
265
- Instructions[R] = std::make_unique<CodeGenInstruction>(R);
266
- if (Instructions[R]->isVariableLengthEncoding())
+ auto &Inst = Instructions[R];
+ Inst = std::make_unique<CodeGenInstruction>(R);
267
+ if (Inst->isVariableLengthEncoding())
268
HasVariableLengthEncodings = true;
269
}
270
0 commit comments