[llvm-commits] [llvm] r51635 - /llvm/trunk/lib/Target/IA64/IA64ISelDAGToDAG.cpp
Chris Lattner
sabre at nondot.org
Tue May 27 21:25:58 PDT 2008
Author: lattner
Date: Tue May 27 23:25:57 2008
New Revision: 51635
URL: http://llvm.org/viewvc/llvm-project?rev=51635&view=rev
Log:
Add chain inputs for loads.
Modified:
llvm/trunk/lib/Target/IA64/IA64ISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/IA64/IA64ISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/IA64/IA64ISelDAGToDAG.cpp?rev=51635&r1=51634&r2=51635&view=diff
==============================================================================
--- llvm/trunk/lib/Target/IA64/IA64ISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/IA64/IA64ISelDAGToDAG.cpp Tue May 27 23:25:57 2008
@@ -349,7 +349,7 @@
// GP value [mem+8]
SDOperand targetEntryPoint=
SDOperand(CurDAG->getTargetNode(IA64::LD8, MVT::i64, MVT::Other,
- FnDescriptor), 0);
+ FnDescriptor, CurDAG->getEntryNode()), 0);
Chain = targetEntryPoint.getValue(1);
SDOperand targetGPAddr=
SDOperand(CurDAG->getTargetNode(IA64::ADDS, MVT::i64,
@@ -358,7 +358,7 @@
Chain = targetGPAddr.getValue(1);
SDOperand targetGP =
SDOperand(CurDAG->getTargetNode(IA64::LD8, MVT::i64,MVT::Other,
- targetGPAddr), 0);
+ targetGPAddr, CurDAG->getEntryNode()), 0);
Chain = targetGP.getValue(1);
Chain = CurDAG->getCopyToReg(Chain, IA64::r1, targetGP, InFlag);
@@ -446,7 +446,7 @@
SDOperand(CurDAG->getTargetNode(IA64::ADDL_GA, MVT::i64,
CurDAG->getRegister(IA64::r1,
MVT::i64), GA), 0);
- return CurDAG->getTargetNode(IA64::LD8, MVT::i64, Tmp);
+ return CurDAG->getTargetNode(IA64::LD8, MVT::i64, MVT::Other, Tmp);
}
/* XXX
More information about the llvm-commits
mailing list