R600: Fix an unitialized variable in R600InstrInfo.cpp

llvm-svn: 185294
This commit is contained in:
Vincent Lejeune 2013-06-30 21:44:06 +00:00
parent 6b65570f37
commit a8a50248d8
1 changed files with 1 additions and 1 deletions

View File

@ -449,7 +449,7 @@ R600InstrInfo::fitsReadPortLimitations(const std::vector<MachineInstr *> &IG,
std::vector<std::vector<std::pair<int, unsigned> > > IGSrcs;
ValidSwizzle.clear();
unsigned ConstCount;
BankSwizzle TransBS;
BankSwizzle TransBS = ALU_VEC_012_SCL_210;
for (unsigned i = 0, e = IG.size(); i < e; ++i) {
IGSrcs.push_back(ExtractSrcs(IG[i], PV, ConstCount));
unsigned Op = getOperandIdx(IG[i]->getOpcode(),