mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
loads should get chains. THis helps but does not solve CodeGen/Generic/2003-05-27-phifcmpd.ll
on ia64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51633 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9b07d3d378
commit
b0349bfe72
@ -348,7 +348,8 @@ SDNode *IA64DAGToDAGISel::Select(SDOperand Op) {
|
||||
// load the branch target's entry point [mem] and
|
||||
// GP value [mem+8]
|
||||
SDOperand targetEntryPoint=
|
||||
SDOperand(CurDAG->getTargetNode(IA64::LD8, MVT::i64, FnDescriptor), 0);
|
||||
SDOperand(CurDAG->getTargetNode(IA64::LD8, MVT::i64, MVT::Other,
|
||||
FnDescriptor), 0);
|
||||
Chain = targetEntryPoint.getValue(1);
|
||||
SDOperand targetGPAddr=
|
||||
SDOperand(CurDAG->getTargetNode(IA64::ADDS, MVT::i64,
|
||||
@ -356,7 +357,8 @@ SDNode *IA64DAGToDAGISel::Select(SDOperand Op) {
|
||||
CurDAG->getConstant(8, MVT::i64)), 0);
|
||||
Chain = targetGPAddr.getValue(1);
|
||||
SDOperand targetGP =
|
||||
SDOperand(CurDAG->getTargetNode(IA64::LD8, MVT::i64, targetGPAddr), 0);
|
||||
SDOperand(CurDAG->getTargetNode(IA64::LD8, MVT::i64,MVT::Other,
|
||||
targetGPAddr), 0);
|
||||
Chain = targetGP.getValue(1);
|
||||
|
||||
Chain = CurDAG->getCopyToReg(Chain, IA64::r1, targetGP, InFlag);
|
||||
|
Loading…
Reference in New Issue
Block a user