diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-18 06:47:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-18 06:47:49 +0000 |
commit | 7ed81690ab42e034ac767ab86c239d16c6297527 (patch) | |
tree | 484705b84706305c19b7e755f96697ae78881cc5 /llvm/utils/TableGen/DAGISelMatcherEmitter.cpp | |
parent | fd47c7977441b6331ca662528b3334cb5b0f30c6 (diff) | |
download | bcm5719-llvm-7ed81690ab42e034ac767ab86c239d16c6297527.tar.gz bcm5719-llvm-7ed81690ab42e034ac767ab86c239d16c6297527.zip |
start sketching out the structure of code for result emission generation.
Nothing real here yet.
llvm-svn: 96575
Diffstat (limited to 'llvm/utils/TableGen/DAGISelMatcherEmitter.cpp')
-rw-r--r-- | llvm/utils/TableGen/DAGISelMatcherEmitter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp b/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp index 5d468194d79..158fe7ff3ab 100644 --- a/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp +++ b/llvm/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"; |