mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-19 02:42:58 +00:00
Add support for specifying a PostEncoderMethod, which can perform post-processing after the automated encoding of an instruction.
Not yet used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118759 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
570a922691
commit
336b8b4244
@ -230,6 +230,10 @@ void CodeEmitterGen::run(raw_ostream &o) {
|
||||
}
|
||||
}
|
||||
|
||||
if (R->getValue("PostEncoderMethod"))
|
||||
Case += " Value = " +
|
||||
R->getValueAsString("PostEncoderMethod") + "(MI, Value);\n";
|
||||
|
||||
std::vector<std::string> &InstList = CaseMap[Case];
|
||||
InstList.push_back(InstName);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user