summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorLauro Ramos Venancio <lauro.venancio@gmail.com>2007-04-20 23:02:39 +0000
committerLauro Ramos Venancio <lauro.venancio@gmail.com>2007-04-20 23:02:39 +0000
commit94314be0e0f4b6e1a993bbaa10cc791181cd35e1 (patch)
tree7c29731a448f476328e6ea2c0a1068f8a1f21406 /llvm/lib
parent7786713181922b44ffb814ba7c4315b185b424c8 (diff)
downloadbcm5719-llvm-94314be0e0f4b6e1a993bbaa10cc791181cd35e1.tar.gz
bcm5719-llvm-94314be0e0f4b6e1a993bbaa10cc791181cd35e1.zip
Allow the lowering of ISD::GLOBAL_OFFSET_TABLE.
llvm-svn: 36290
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 42e7e2268b1..d121fce52f9 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -628,7 +628,6 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
case ISD::SRCVALUE:
case ISD::STRING:
case ISD::CONDCODE:
- case ISD::GLOBAL_OFFSET_TABLE:
// Primitives must all be legal.
assert(TLI.isOperationLegal(Node->getValueType(0), Node->getValueType(0)) &&
"This must be legal!");
@@ -653,6 +652,7 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
#endif
assert(0 && "Do not know how to legalize this operator!");
abort();
+ case ISD::GLOBAL_OFFSET_TABLE:
case ISD::GlobalAddress:
case ISD::GlobalTLSAddress:
case ISD::ExternalSymbol:
OpenPOWER on IntegriCloud