projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
78432fe
)
Teach legalize about targetglobaladdress
author
Chris Lattner
<sabre@nondot.org>
Thu, 17 Nov 2005 05:52:24 +0000
(
05:52
+0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 03813d0f94d1c48a41f217c21c6a9fa55317bbcc..6a7a53ea80a45b015d706fb6ee8d43ed3332034c 100644
(file)
--- 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::Register:
case ISD::TargetConstant:
case ISD::GlobalAddress:
+ case ISD::TargetGlobalAddress:
case ISD::ExternalSymbol:
case ISD::ConstantPool: // Nothing to do.
case ISD::BasicBlock:
case ISD::ExternalSymbol:
case ISD::ConstantPool: // Nothing to do.
case ISD::BasicBlock: