summaryrefslogtreecommitdiff
path: root/utils/TableGen/DAGISelMatcherEmitter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-18 06:47:49 +0000
committerChris Lattner <sabre@nondot.org>2010-02-18 06:47:49 +0000
commitb49985a8499e18675db7e9baf920d6ef4e2b65cf (patch)
tree251cd21df46bdbff8521d491060f2bfeb4e6b8de /utils/TableGen/DAGISelMatcherEmitter.cpp
parent1a7d087154805a85368d876d9ae26ac76683591c (diff)
downloadllvm-b49985a8499e18675db7e9baf920d6ef4e2b65cf.tar.gz
llvm-b49985a8499e18675db7e9baf920d6ef4e2b65cf.tar.bz2
llvm-b49985a8499e18675db7e9baf920d6ef4e2b65cf.tar.xz
start sketching out the structure of code for result emission generation.
Nothing real here yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96575 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/DAGISelMatcherEmitter.cpp')
-rw-r--r--utils/TableGen/DAGISelMatcherEmitter.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/TableGen/DAGISelMatcherEmitter.cpp b/utils/TableGen/DAGISelMatcherEmitter.cpp
index 5d468194d7..158fe7ff3a 100644
--- a/utils/TableGen/DAGISelMatcherEmitter.cpp
+++ b/utils/TableGen/DAGISelMatcherEmitter.cpp
@@ -262,6 +262,9 @@ EmitMatcherList(const MatcherNode *N, unsigned Indent) {
}
void MatcherTableEmitter::EmitPredicateFunctions() {
+ // FIXME: Don't build off the DAGISelEmitter's predicates, emit them directly
+ // here into the case stmts.
+
// Emit pattern predicates.
OS << "bool CheckPatternPredicate(unsigned PredNo) const {\n";
OS << " switch (PredNo) {\n";