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:
09c0339
)
Use the right accessor to create this node
author
Chris Lattner
<sabre@nondot.org>
Thu, 17 Nov 2005 17:51:38 +0000
(17:51 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 17 Nov 2005 17:51:38 +0000
(17:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24394
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCISelLowering.cpp
b/lib/Target/PowerPC/PPCISelLowering.cpp
index 437e4369bf07e3375709d922a4bbb74905125942..3b7a706f52c10f9bc066646b7fdd77f6c62a028f 100644
(file)
--- a/
lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/
lib/Target/PowerPC/PPCISelLowering.cpp
@@
-343,7
+343,7
@@
SDOperand PPCTargetLowering::LowerOperation(SDOperand Op, SelectionDAG &DAG) {
if (PICEnabled) {
// With PIC, the first instruction is actually "GR+hi(&G)".
Hi = DAG.getNode(ISD::ADD, MVT::i32,
- DAG.get
Target
Node(PPCISD::GlobalBaseReg, MVT::i32), Hi);
+ DAG.getNode(PPCISD::GlobalBaseReg, MVT::i32), Hi);
}
SDOperand Lo = DAG.getNode(PPCISD::Lo, MVT::i32, GA, Zero);