From: Vincent Lejeune Date: Sun, 30 Jun 2013 21:44:06 +0000 (+0000) Subject: R600: Fix an unitialized variable in R600InstrInfo.cpp X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c36a8d2b3d6e543de8d9f210ecd39a9a0641d826;p=oota-llvm.git R600: Fix an unitialized variable in R600InstrInfo.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185294 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/R600/R600InstrInfo.cpp b/lib/Target/R600/R600InstrInfo.cpp index 302e4026627..969a7ce2b55 100644 --- a/lib/Target/R600/R600InstrInfo.cpp +++ b/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(),