projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
570a922
)
Add support for specifying a PostEncoderMethod, which can perform post-processing...
author
Owen Anderson
<resistor@mac.com>
Thu, 11 Nov 2010 01:19:24 +0000
(
01:19
+0000)
committer
Owen Anderson
<resistor@mac.com>
Thu, 11 Nov 2010 01:19:24 +0000
(
01:19
+0000)
Not yet used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118759
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/CodeEmitterGen.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/CodeEmitterGen.cpp
b/utils/TableGen/CodeEmitterGen.cpp
index e86c18fb66382c8ef50c20a37299f35af5fe2684..e7b022af15f972505629ad8b1f9f87587ac09d71 100644
(file)
--- 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<std::string> &InstList = CaseMap[Case];
InstList.push_back(InstName);
}