aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-11-17 05:52:24 +0000
committerChris Lattner <sabre@nondot.org>2005-11-17 05:52:24 +0000
commitb9debbf54c926036d5c22b3e7f0d12c79c1c15a3 (patch)
treef8cf08a1ad6345a5ddbd02501f8c7b33ae69d025 /lib/CodeGen
parent78432feff87d20d15466952c59969ea410ae85bb (diff)
Teach legalize about targetglobaladdress
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24385 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeDAG.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 03813d0f94..6a7a53ea80 100644
--- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -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: