summaryrefslogtreecommitdiff
path: root/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
commit7b1af15612e614feef08ab91a2692214a287555e (patch)
tree49a411b033a42d1af85c53dbbd32e7ae333204c7 /lib/CodeGen/RegAllocLocal.cpp
parent7c78afefe96669cc3eb886308291213415d9d7b0 (diff)
downloadllvm-7b1af15612e614feef08ab91a2692214a287555e.tar.gz
llvm-7b1af15612e614feef08ab91a2692214a287555e.tar.bz2
llvm-7b1af15612e614feef08ab91a2692214a287555e.tar.xz
No need to clear the map here, it will always be empty
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11868 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocLocal.cpp')
-rw-r--r--lib/CodeGen/RegAllocLocal.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocLocal.cpp b/lib/CodeGen/RegAllocLocal.cpp
index f3753326ee..37d600ef81 100644
--- a/lib/CodeGen/RegAllocLocal.cpp
+++ b/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