diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/FastISelEmitter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/TableGen/FastISelEmitter.cpp b/utils/TableGen/FastISelEmitter.cpp index b343013..5868a24 100644 --- a/utils/TableGen/FastISelEmitter.cpp +++ b/utils/TableGen/FastISelEmitter.cpp @@ -181,6 +181,7 @@ void FastISelEmitter::run(std::ostream &OS) { typedef std::map<OperandsSignature, OpcodeTypePredMap> OperandsOpcodeTypePredMap; OperandsOpcodeTypePredMap SimplePatterns; + // Scan through all the patterns and record the simple ones. for (CodeGenDAGPatterns::ptm_iterator I = CGP.ptm_begin(), E = CGP.ptm_end(); I != E; ++I) { const PatternToMatch &Pattern = *I; @@ -394,6 +395,9 @@ void FastISelEmitter::run(std::ostream &OS) { OS << "\n"; } + OS << "// Top-level FastEmit function.\n"; + OS << "\n"; + // Emit one function for the operand signature that demultiplexes based // on opcode and type. OS << "unsigned FastISel::FastEmit_"; |