diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-12-24 23:36:59 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-12-24 23:36:59 +0000 |
commit | 330851a8f6cc7cf8ccf54ade63b5d58614c0218e (patch) | |
tree | 8b44ddb8984c51b2b6ad686876e1e76f274fb950 /utils/TableGen/DAGISelEmitter.cpp | |
parent | e4672aa5b42755d470f403b484958903227013ff (diff) | |
download | external_llvm-330851a8f6cc7cf8ccf54ade63b5d58614c0218e.zip external_llvm-330851a8f6cc7cf8ccf54ade63b5d58614c0218e.tar.gz external_llvm-330851a8f6cc7cf8ccf54ade63b5d58614c0218e.tar.bz2 |
support targetexternalsym
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25005 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/DAGISelEmitter.cpp')
-rw-r--r-- | utils/TableGen/DAGISelEmitter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp index 05b9629..8754097 100644 --- a/utils/TableGen/DAGISelEmitter.cpp +++ b/utils/TableGen/DAGISelEmitter.cpp @@ -1983,6 +1983,10 @@ public: 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(); |