diff --git a/llvm/lib/Target/R600/R600InstrInfo.cpp b/llvm/lib/Target/R600/R600InstrInfo.cpp index 302e40266272..969a7ce2b55e 100644 --- a/llvm/lib/Target/R600/R600InstrInfo.cpp +++ b/llvm/lib/Target/R600/R600InstrInfo.cpp @@ -449,7 +449,7 @@ R600InstrInfo::fitsReadPortLimitations(const std::vector &IG, std::vector > > 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(),