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 | db5fb3bfe8fdc10dc273d474d642d65dda9236da (patch) | |
tree | 40e9c5f94ebebef54edb86fdf29ae60a17d50702 /llvm/lib/CodeGen | |
parent | 067df8090a303d784f845a58d0dafa09e846d82d (diff) | |
download | bcm5719-llvm-db5fb3bfe8fdc10dc273d474d642d65dda9236da.tar.gz bcm5719-llvm-db5fb3bfe8fdc10dc273d474d642d65dda9236da.zip |
Remove unused but set variable flagged by GCC.
llvm-svn: 165331
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index a5eccaeef16..0ee6e0c677b 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/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); |