[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Jan 3 16:32:13 PST 2006
Changes in directory llvm/utils/TableGen:
DAGISelEmitter.cpp updated: 1.121 -> 1.122
---
Log message:
Remove obsolete comment, make things look a bit nicer
---
Diffs of the changes: (+1 -2)
DAGISelEmitter.cpp | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
Index: llvm/utils/TableGen/DAGISelEmitter.cpp
diff -u llvm/utils/TableGen/DAGISelEmitter.cpp:1.121 llvm/utils/TableGen/DAGISelEmitter.cpp:1.122
--- llvm/utils/TableGen/DAGISelEmitter.cpp:1.121 Tue Jan 3 18:25:00 2006
+++ llvm/utils/TableGen/DAGISelEmitter.cpp Tue Jan 3 18:32:01 2006
@@ -2531,7 +2531,6 @@
<< " return N; // Already selected.\n\n"
<< " std::map<SDOperand, SDOperand>::iterator CGMI = CodeGenMap.find(N);\n"
<< " if (CGMI != CodeGenMap.end()) return CGMI->second;\n"
- << " // Work arounds for GCC stack overflow bugs.\n"
<< " switch (N.getOpcode()) {\n"
<< " default: break;\n"
<< " case ISD::EntryToken: // These leaves remain the same.\n"
@@ -2607,7 +2606,7 @@
E = PatternsByOpcode.end(); PBOI != E; ++PBOI) {
const SDNodeInfo &OpcodeInfo = getSDNodeInfo(PBOI->first);
OS << " case " << OpcodeInfo.getEnumName() << ": "
- << std::string(std::max(0, int(16-OpcodeInfo.getEnumName().size())), ' ')
+ << std::string(std::max(0, int(24-OpcodeInfo.getEnumName().size())), ' ')
<< "return Select_" << PBOI->first->getName() << "(N);\n";
}
More information about the llvm-commits
mailing list