Changes in directory llvm/lib/Target/ARM:

ARMISelDAGToDAG.cpp updated: 1.5 -> 1.6
---
Log message:

Clear HandleMap and ReplaceMap after instruction selection. Or it may cause
non-deterministic behavior.


---
Diffs of the changes:  (+2 -0)

 ARMISelDAGToDAG.cpp |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
diff -u llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.5 
llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.6
--- llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.5 Wed May 24 12:04:04 2006
+++ llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp     Wed May 24 15:46:25 2006
@@ -161,6 +161,8 @@
 
   DAG.setRoot(SelectRoot(DAG.getRoot()));
   CodeGenMap.clear();
+  HandleMap.clear();
+  ReplaceMap.clear();
   DAG.RemoveDeadNodes();
 
   ScheduleAndEmitDAG(DAG);



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to