mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
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
This commit is contained in:
parent
108ec4b1ca
commit
0d3b67809c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user