Skip to content

Commit 9b29ec7

Browse files
author
Dan Gohman
committed
Add a few comments.
llvm-svn: 55157
1 parent 49e19e9 commit 9b29ec7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/utils/TableGen/FastISelEmitter.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ void FastISelEmitter::run(std::ostream &OS) {
181181
typedef std::map<OperandsSignature, OpcodeTypePredMap> OperandsOpcodeTypePredMap;
182182
OperandsOpcodeTypePredMap SimplePatterns;
183183

184+
// Scan through all the patterns and record the simple ones.
184185
for (CodeGenDAGPatterns::ptm_iterator I = CGP.ptm_begin(),
185186
E = CGP.ptm_end(); I != E; ++I) {
186187
const PatternToMatch &Pattern = *I;
@@ -394,6 +395,9 @@ void FastISelEmitter::run(std::ostream &OS) {
394395
OS << "\n";
395396
}
396397

398+
OS << "// Top-level FastEmit function.\n";
399+
OS << "\n";
400+
397401
// Emit one function for the operand signature that demultiplexes based
398402
// on opcode and type.
399403
OS << "unsigned FastISel::FastEmit_";

0 commit comments

Comments
 (0)