summaryrefslogtreecommitdiff
path: root/lib/CodeGen/StackSlotColoring.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-06-27 11:26:41 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-06-27 11:26:41 +0000
commit88d93a7cc4546439c82490db20c71b4b702dcc7a (patch)
tree42df13c20413fab680fb3f820a483596529ea2de /lib/CodeGen/StackSlotColoring.cpp
parent872bb3681009ab31965228305bc0452e84569355 (diff)
downloadllvm-88d93a7cc4546439c82490db20c71b4b702dcc7a.tar.gz
llvm-88d93a7cc4546439c82490db20c71b4b702dcc7a.tar.bz2
llvm-88d93a7cc4546439c82490db20c71b4b702dcc7a.tar.xz
Remove unused variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185072 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/StackSlotColoring.cpp')
-rw-r--r--lib/CodeGen/StackSlotColoring.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/StackSlotColoring.cpp b/lib/CodeGen/StackSlotColoring.cpp
index 8905ac7fe8..b166671e1b 100644
--- a/lib/CodeGen/StackSlotColoring.cpp
+++ b/lib/CodeGen/StackSlotColoring.cpp
@@ -14,7 +14,6 @@
#define DEBUG_TYPE "stackslotcoloring"
#include "llvm/CodeGen/Passes.h"
#include "llvm/ADT/BitVector.h"
-#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/LiveIntervalAnalysis.h"
@@ -293,7 +292,6 @@ bool StackSlotColoring::ColorSlots(MachineFunction &MF) {
return false;
// Rewrite all MO_FrameIndex operands.
- SmallVector<SmallSet<unsigned, 4>, 4> NewDefs(MF.getNumBlockIDs());
for (unsigned SS = 0, SE = SSRefs.size(); SS != SE; ++SS) {
int NewFI = SlotMapping[SS];
if (NewFI == -1 || (NewFI == (int)SS))