projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fef809
)
Fix a bug the last patch exposed in treeadd among others
author
Chris Lattner
<sabre@nondot.org>
Mon, 29 Aug 2005 01:07:02 +0000
(
01:07
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 29 Aug 2005 01:07:02 +0000
(
01:07
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23127
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
index 2503e26e614fc30f8f8fdf5d3e1611386f40168f..e7e1c9ed874bc6c4e6154daf6012789a35157cdb 100644
(file)
--- a/
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
+++ b/
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.