diff options
| author | Chris Lattner <sabre@nondot.org> | 2005-08-29 01:07:02 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2005-08-29 01:07:02 +0000 |
| commit | c429ab2fb12f82aa2a379effabf45caf8c705099 (patch) | |
| tree | d98e116e532a72990f9960f72315080d79271043 /llvm/lib | |
| parent | d4d683a47be4b663c646ed051a1e296c59a1dd13 (diff) | |
| download | bcm5719-llvm-c429ab2fb12f82aa2a379effabf45caf8c705099.tar.gz bcm5719-llvm-c429ab2fb12f82aa2a379effabf45caf8c705099.zip | |
Fix a bug the last patch exposed in treeadd among others
llvm-svn: 23127
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp b/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp index 2503e26e614..e7e1c9ed874 100644 --- a/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp +++ b/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp @@ -87,7 +87,7 @@ namespace { virtual void InstructionSelectBasicBlock(SelectionDAG &DAG) { DEBUG(BB->dump()); // Select target instructions for the DAG. - Select(DAG.getRoot()); + DAG.setRoot(Select(DAG.getRoot())); DAG.RemoveDeadNodes(); // Emit machine code to BB. |

