forked from OSchip/llvm-project
do not set the root to null if an argument is dead
llvm-svn: 21188
This commit is contained in:
parent
8309a333dd
commit
e8e070dbfb
|
@ -203,8 +203,9 @@ PPC32TargetLowering::LowerArguments(Function &F, SelectionDAG &DAG) {
|
|||
GPR_idx += delta;
|
||||
}
|
||||
ArgOffset += ObjSize;
|
||||
if (newroot.Val)
|
||||
DAG.setRoot(newroot.getValue(1));
|
||||
|
||||
DAG.setRoot(newroot.getValue(1));
|
||||
ArgValues.push_back(argt);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue