mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-13 08:54:59 +00:00
do not set the root to null if an argument is dead
llvm-svn: 21188
This commit is contained in:
parent
dda6155d19
commit
b630949c2e
@ -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…
x
Reference in New Issue
Block a user