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:
5324fec
)
Make sure to clear the CodeGenMap after each basic block is selected to avoid
author
Chris Lattner
<sabre@nondot.org>
Tue, 27 Sep 2005 17:45:33 +0000
(17:45 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 27 Sep 2005 17:45:33 +0000
(17:45 +0000)
cross MBB pollution.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23470
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 5019a848a44b32b32357abc7608abca451af7279..d933547740002bd31f24eee4c81f618333a8a20c 100644
(file)
--- a/
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
+++ b/
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
@@
-87,6
+87,7
@@
namespace {
DEBUG(BB->dump());
// Select target instructions for the DAG.
DAG.setRoot(Select(DAG.getRoot()));
+ CodeGenMap.clear();
DAG.RemoveDeadNodes();
// Emit machine code to BB.