[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Sat Dec 24 15:37:11 PST 2005
Changes in directory llvm/utils/TableGen:
DAGISelEmitter.cpp updated: 1.115 -> 1.116
---
Log message:
support targetexternalsym
---
Diffs of the changes: (+4 -0)
DAGISelEmitter.cpp | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/utils/TableGen/DAGISelEmitter.cpp
diff -u llvm/utils/TableGen/DAGISelEmitter.cpp:1.115 llvm/utils/TableGen/DAGISelEmitter.cpp:1.116
--- llvm/utils/TableGen/DAGISelEmitter.cpp:1.115 Fri Dec 23 16:11:47 2005
+++ llvm/utils/TableGen/DAGISelEmitter.cpp Sat Dec 24 17:36:59 2005
@@ -1983,6 +1983,10 @@
OS << " ";
DeclareSDOperand("Tmp"+utostr(ResNo));
OS << " = " << Val << ";\n";
+ } else if (!N->isLeaf() && N->getOperator()->getName() == "texternalsym") {
+ OS << " ";
+ DeclareSDOperand("Tmp"+utostr(ResNo));
+ OS << " = " << Val << ";\n";
} else if (N->isLeaf() && (CP = NodeGetComplexPattern(N, ISE))) {
std::string Fn = CP->getSelectFunc();
NumRes = CP->getNumOperands();
More information about the llvm-commits
mailing list