mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
do not set the root to null if an argument is dead
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21188 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cd08e4cb7e
commit
91277ea45c
@ -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
Block a user