diff options
author | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2007-04-20 23:02:39 +0000 |
---|---|---|
committer | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2007-04-20 23:02:39 +0000 |
commit | 0d3b67809ccab229a03db8c1bede852fb89eb081 (patch) | |
tree | c1c16a390db80b30080fb452d78b301d6a99c29d /lib | |
parent | 108ec4b1cacb476a4f8da66ac86a968c200d4346 (diff) | |
download | llvm-0d3b67809ccab229a03db8c1bede852fb89eb081.tar.gz llvm-0d3b67809ccab229a03db8c1bede852fb89eb081.tar.bz2 llvm-0d3b67809ccab229a03db8c1bede852fb89eb081.tar.xz |
Allow the lowering of ISD::GLOBAL_OFFSET_TABLE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36290 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 42e7e2268b..d121fce52f 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/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: |