[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp

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



Changes in directory llvm/lib/Target/X86:

X86ISelDAGToDAG.cpp updated: 1.67 -> 1.68
---
Log message:

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


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

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


Index: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
diff -u llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.67 llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.68
--- llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.67	Wed May 24 12:04:04 2006
+++ llvm/lib/Target/X86/X86ISelDAGToDAG.cpp	Wed May 24 15:46:25 2006
@@ -186,6 +186,8 @@
   DEBUG(std::cerr << "===== Instruction selection ends:\n");
 #endif
   CodeGenMap.clear();
+  HandleMap.clear();
+  ReplaceMap.clear();
   DAG.RemoveDeadNodes();
 
   // Emit machine code to BB. 






More information about the llvm-commits mailing list