diff options
author | Nate Begeman <natebegeman@mac.com> | 2005-12-10 02:36:00 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2005-12-10 02:36:00 +0000 |
commit | 28a6b02626c29b1fe9bb16c14c193549fab4cab8 (patch) | |
tree | 1fa32d34f94b41b5126a3c766590188de4f00adb /utils/TableGen/DAGISelEmitter.cpp | |
parent | b612ff956944014e6b637480487f00dbceda3b7e (diff) | |
download | external_llvm-28a6b02626c29b1fe9bb16c14c193549fab4cab8.zip external_llvm-28a6b02626c29b1fe9bb16c14c193549fab4cab8.tar.gz external_llvm-28a6b02626c29b1fe9bb16c14c193549fab4cab8.tar.bz2 |
Add support for TargetConstantPool nodes to the dag isel emitter, and use
them in the PPC backend, to simplify some logic out of Select and
SelectAddr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24657 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/DAGISelEmitter.cpp')
-rw-r--r-- | utils/TableGen/DAGISelEmitter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp index a5947a7..05a9c62 100644 --- a/utils/TableGen/DAGISelEmitter.cpp +++ b/utils/TableGen/DAGISelEmitter.cpp @@ -1900,6 +1900,8 @@ public: << ResNo << "C, MVT::" << getEnumName(N->getType()) << ");\n"; } else if (!N->isLeaf() && N->getOperator()->getName() == "tglobaladdr") { OS << " SDOperand Tmp" << ResNo << " = " << Val << ";\n"; + } else if (!N->isLeaf() && N->getOperator()->getName() == "tconstpool") { + OS << " SDOperand Tmp" << ResNo << " = " << Val << ";\n"; } else if (N->isLeaf() && (CP = NodeGetComplexPattern(N, ISE))) { std::string Fn = CP->getSelectFunc(); NumRes = CP->getNumOperands(); |