summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-09-16 21:48:12 +0000
committerBill Wendling <isanbard@gmail.com>2008-09-16 21:48:12 +0000
commit24c79f28b16affb4d6cd355d1b20c4297eb4293f (patch)
tree610aa91866d61fc1c0cd90d28490b85957c9bba9 /llvm/utils
parentab26f20d4430e4f88b6f0154adf64ed02e107150 (diff)
downloadbcm5719-llvm-24c79f28b16affb4d6cd355d1b20c4297eb4293f.tar.gz
bcm5719-llvm-24c79f28b16affb4d6cd355d1b20c4297eb4293f.zip
Reverting r56249. On further investigation, this functionality isn't needed.
Apologies for the thrashing. llvm-svn: 56251
Diffstat (limited to 'llvm/utils')
-rw-r--r--llvm/utils/TableGen/DAGISelEmitter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/utils/TableGen/DAGISelEmitter.cpp b/llvm/utils/TableGen/DAGISelEmitter.cpp
index 38c4191986b..e4a3f098d35 100644
--- a/llvm/utils/TableGen/DAGISelEmitter.cpp
+++ b/llvm/utils/TableGen/DAGISelEmitter.cpp
@@ -802,11 +802,11 @@ public:
NodeOps.push_back(Val);
} else if (!N->isLeaf() && N->getOperator()->getName() == "texternalsym"){
Record *Op = OperatorMap[N->getName()];
- // Transform Symbol to TargetSymbol
+ // Transform ExternalSymbol to TargetExternalSymbol
if (Op && Op->getName() == "externalsym") {
std::string TmpVar = "Tmp"+utostr(ResNo);
emitCode("SDValue " + TmpVar + " = CurDAG->getTarget"
- "Symbol(cast<SymbolSDNode>(" +
+ "ExternalSymbol(cast<ExternalSymbolSDNode>(" +
Val + ")->getSymbol(), " +
getEnumName(N->getTypeNum(0)) + ");");
// Add Tmp<ResNo> to VariableMap, so that we don't multiply select
@@ -1949,7 +1949,7 @@ void DAGISelEmitter::EmitInstructionSelector(std::ostream &OS) {
<< " case ISD::TargetConstantFP:\n"
<< " case ISD::TargetConstantPool:\n"
<< " case ISD::TargetFrameIndex:\n"
- << " case ISD::TargetSymbol:\n"
+ << " case ISD::TargetExternalSymbol:\n"
<< " case ISD::TargetJumpTable:\n"
<< " case ISD::TargetGlobalTLSAddress:\n"
<< " case ISD::TargetGlobalAddress: {\n"
OpenPOWER on IntegriCloud