diff options
author | Chris Lattner <sabre@nondot.org> | 2008-05-28 04:25:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-05-28 04:25:57 +0000 |
commit | d04567eb6d17d6893b5e644380bded8dbaa68a44 (patch) | |
tree | b283fb8ff9b8e12060c1737f2afc14fa6ddcacac /lib/Target | |
parent | 840ebfaf84a0fe265c24b781cd08b4faa17b663b (diff) | |
download | external_llvm-d04567eb6d17d6893b5e644380bded8dbaa68a44.zip external_llvm-d04567eb6d17d6893b5e644380bded8dbaa68a44.tar.gz external_llvm-d04567eb6d17d6893b5e644380bded8dbaa68a44.tar.bz2 |
Add chain inputs for loads.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51635 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/IA64/IA64ISelDAGToDAG.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/IA64/IA64ISelDAGToDAG.cpp b/lib/Target/IA64/IA64ISelDAGToDAG.cpp index 805879c..da968b9 100644 --- a/lib/Target/IA64/IA64ISelDAGToDAG.cpp +++ b/lib/Target/IA64/IA64ISelDAGToDAG.cpp @@ -349,7 +349,7 @@ SDNode *IA64DAGToDAGISel::Select(SDOperand Op) { // 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 @@ SDNode *IA64DAGToDAGISel::Select(SDOperand Op) { 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 @@ SDNode *IA64DAGToDAGISel::Select(SDOperand Op) { 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 |