Teach legalize about targetglobaladdress
authorChris Lattner <sabre@nondot.org>
Thu, 17 Nov 2005 05:52:24 +0000 (05:52 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 17 Nov 2005 05:52:24 +0000 (05:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24385 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

index 03813d0f94d1c48a41f217c21c6a9fa55317bbcc..6a7a53ea80a45b015d706fb6ee8d43ed3332034c 100644 (file)
@@ -525,6 +525,7 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
   case ISD::Register:
   case ISD::TargetConstant:
   case ISD::GlobalAddress:
+  case ISD::TargetGlobalAddress:
   case ISD::ExternalSymbol:
   case ISD::ConstantPool:           // Nothing to do.
   case ISD::BasicBlock: