git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165331
91177308-0d34-0410-b5e6-
96231b3b80d8
// Store the constants into memory as one consecutive store.
if (!IsLoadSrc) {
- unsigned LastConst = 0;
unsigned LastLegalType = 0;
unsigned LastLegalVectorType = 0;
bool NonZero = false;
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);