mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Allow the lowering of ISD::GLOBAL_OFFSET_TABLE.
llvm-svn: 36290
This commit is contained in:
parent
299d9f0262
commit
a6bb7b3907
@ -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