summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocLocal.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-26 05:21:21 +0000
committerChris Lattner <sabre@nondot.org>2004-02-26 05:21:21 +0000
commit28a0885929e0f1e5dfde0b2fc7f1b947cdab4bd8 (patch)
treed91a55277c6192582c5b93ce1b7bae538c0c84bd /llvm/lib/CodeGen/RegAllocLocal.cpp
parent5e39cf9fbd1bf4af58e63a95f475122dd5100c07 (diff)
downloadbcm5719-llvm-28a0885929e0f1e5dfde0b2fc7f1b947cdab4bd8.tar.gz
bcm5719-llvm-28a0885929e0f1e5dfde0b2fc7f1b947cdab4bd8.zip
No need to clear the map here, it will always be empty
llvm-svn: 11868
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLocal.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocLocal.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLocal.cpp b/llvm/lib/CodeGen/RegAllocLocal.cpp
index f3753326ee4..37d600ef81d 100644
--- a/llvm/lib/CodeGen/RegAllocLocal.cpp
+++ b/llvm/lib/CodeGen/RegAllocLocal.cpp
@@ -683,7 +683,6 @@ bool RA::runOnMachineFunction(MachineFunction &Fn) {
// 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
OpenPOWER on IntegriCloud