diff --git a/utils/TableGen/CodeEmitterGen.cpp b/utils/TableGen/CodeEmitterGen.cpp index e86c18fb663..e7b022af15f 100644 --- a/utils/TableGen/CodeEmitterGen.cpp +++ b/utils/TableGen/CodeEmitterGen.cpp @@ -230,6 +230,10 @@ void CodeEmitterGen::run(raw_ostream &o) { } } + if (R->getValue("PostEncoderMethod")) + Case += " Value = " + + R->getValueAsString("PostEncoderMethod") + "(MI, Value);\n"; + std::vector &InstList = CaseMap[Case]; InstList.push_back(InstName); }