1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Remove unused but set variable flagged by GCC.

llvm-svn: 165331
This commit is contained in:
Benjamin Kramer 2012-10-05 20:08:45 +00:00
parent dfe52bb6c3
commit 7a9b49ff0c

View File

@ -7568,7 +7568,6 @@ bool DAGCombiner::MergeConsecutiveStores(StoreSDNode* St) {
// Store the constants into memory as one consecutive store. // Store the constants into memory as one consecutive store.
if (!IsLoadSrc) { if (!IsLoadSrc) {
unsigned LastConst = 0;
unsigned LastLegalType = 0; unsigned LastLegalType = 0;
unsigned LastLegalVectorType = 0; unsigned LastLegalVectorType = 0;
bool NonZero = false; bool NonZero = false;
@ -7585,9 +7584,6 @@ bool DAGCombiner::MergeConsecutiveStores(StoreSDNode* St) {
break; break;
} }
// Mark this index as the largest legal constant.
LastConst = i;
// Find a legal type for the constant store. // Find a legal type for the constant store.
unsigned StoreBW = (i+1) * ElementSizeBytes * 8; unsigned StoreBW = (i+1) * ElementSizeBytes * 8;
EVT StoreTy = EVT::getIntegerVT(*DAG.getContext(), StoreBW); EVT StoreTy = EVT::getIntegerVT(*DAG.getContext(), StoreBW);