projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clear HandleMap and ReplaceMap after instruction selection. Or it may cause
[oota-llvm.git]
/
lib
/
Target
/
PowerPC
/
PPCISelDAGToDAG.cpp
diff --git
a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
index c164020ecaab3f3331509cccbd694b2580233ec1..9e22f1145b70369c570e7081bcd970e6c60f9ef0 100644
(file)
--- a/
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
+++ b/
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
@@
-206,6
+206,8
@@
void PPCDAGToDAGISel::InstructionSelectBasicBlock(SelectionDAG &DAG) {
// Select target instructions for the DAG.
DAG.setRoot(SelectRoot(DAG.getRoot()));
CodeGenMap.clear();
+ HandleMap.clear();
+ ReplaceMap.clear();
DAG.RemoveDeadNodes();
// Emit machine code to BB.