[llvm-commits] CVS: llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp

Evan Cheng evan.cheng at apple.com
Wed May 24 13:46:41 PDT 2006



Changes in directory llvm/lib/Target/IA64:

IA64ISelDAGToDAG.cpp updated: 1.40 -> 1.41
---
Log message:

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


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

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


Index: llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp
diff -u llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp:1.40 llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp:1.41
--- llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp:1.40	Tue May 16 12:42:15 2006
+++ llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp	Wed May 24 15:46:25 2006
@@ -148,6 +148,8 @@
   // Select target instructions for the DAG.
   DAG.setRoot(SelectRoot(DAG.getRoot()));
   CodeGenMap.clear();
+  HandleMap.clear();
+  ReplaceMap.clear();
   DAG.RemoveDeadNodes();
   
   // Emit machine code to BB. 






More information about the llvm-commits mailing list