diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-10-05 20:08:45 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-10-05 20:08:45 +0000 |
commit | a4b5050cf5af18ac18565073fecbfcb95f93556b (patch) | |
tree | cf14ae27da356e199e2ae931bedd35e8e03f507b | |
parent | 685d3486535dc4be65028e01a730a0b3d4803021 (diff) | |
download | external_llvm-a4b5050cf5af18ac18565073fecbfcb95f93556b.zip external_llvm-a4b5050cf5af18ac18565073fecbfcb95f93556b.tar.gz external_llvm-a4b5050cf5af18ac18565073fecbfcb95f93556b.tar.bz2 |
Remove unused but set variable flagged by GCC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165331 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index a5eccae..0ee6e0c 100644 --- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -7568,7 +7568,6 @@ bool DAGCombiner::MergeConsecutiveStores(StoreSDNode* St) { // Store the constants into memory as one consecutive store. if (!IsLoadSrc) { - unsigned LastConst = 0; unsigned LastLegalType = 0; unsigned LastLegalVectorType = 0; bool NonZero = false; @@ -7585,9 +7584,6 @@ bool DAGCombiner::MergeConsecutiveStores(StoreSDNode* St) { break; } - // Mark this index as the largest legal constant. - LastConst = i; - // Find a legal type for the constant store. unsigned StoreBW = (i+1) * ElementSizeBytes * 8; EVT StoreTy = EVT::getIntegerVT(*DAG.getContext(), StoreBW); |