[llvm-commits] CVS: llvm/lib/CodeGen/RegAllocLocal.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Feb 25 23:22:36 PST 2004


Changes in directory llvm/lib/CodeGen:

RegAllocLocal.cpp updated: 1.58 -> 1.59

---
Log message:

No need to clear the map here, it will always be empty


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

Index: llvm/lib/CodeGen/RegAllocLocal.cpp
diff -u llvm/lib/CodeGen/RegAllocLocal.cpp:1.58 llvm/lib/CodeGen/RegAllocLocal.cpp:1.59
--- llvm/lib/CodeGen/RegAllocLocal.cpp:1.58	Wed Feb 25 15:55:44 2004
+++ llvm/lib/CodeGen/RegAllocLocal.cpp	Wed Feb 25 23:21:21 2004
@@ -683,7 +683,6 @@
 
   // initialize the virtual->physical register map to have a 'null'
   // mapping for all virtual registers
-  Virt2PhysRegMap.clear();
   Virt2PhysRegMap.grow(MF->getSSARegMap()->getLastVirtReg());
 
   // Loop over all of the basic blocks, eliminating virtual register references





More information about the llvm-commits mailing list