mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-17 00:57:54 +00:00
loads should get chains. THis helps but does not solve CodeGen/Generic/2003-05-27-phifcmpd.ll
on ia64. llvm-svn: 51633
This commit is contained in:
parent
d33dececf3
commit
294b436abf
@ -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…
x
Reference in New Issue
Block a user