[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Apr 9 14:23:41 PDT 2005
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelPattern.cpp updated: 1.56 -> 1.57
---
Log message:
do not set the root to null if an argument is dead
---
Diffs of the changes: (+2 -1)
PPC32ISelPattern.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.56 llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.57
--- llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.56 Sat Apr 9 15:09:12 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp Sat Apr 9 16:23:24 2005
@@ -203,8 +203,9 @@
GPR_idx += delta;
}
ArgOffset += ObjSize;
+ if (newroot.Val)
+ DAG.setRoot(newroot.getValue(1));
- DAG.setRoot(newroot.getValue(1));
ArgValues.push_back(argt);
}
More information about the llvm-commits
mailing list