[SLPVectorizer] Remove duplicated functionality code in initScheduleData function, NFCI.

llvm-svn: 313341
This commit is contained in:
Dinar Temirbulatov 2017-09-15 04:31:54 +00:00
parent d78db15629
commit bb891b864c
1 changed files with 0 additions and 6 deletions

View File

@ -3595,12 +3595,6 @@ void BoUpSLP::BlockScheduling::initScheduleData(Instruction *FromI,
for (Instruction *I = FromI; I != ToI; I = I->getNextNode()) {
ScheduleData *SD = ScheduleDataMap[I];
if (!SD) {
// Allocate a new ScheduleData for the instruction.
if (ChunkPos >= ChunkSize) {
ScheduleDataChunks.push_back(
llvm::make_unique<ScheduleData[]>(ChunkSize));
ChunkPos = 0;
}
SD = allocateScheduleDataChunks();
ScheduleDataMap[I] = SD;
SD->Inst = I;