From a8a50248d85d1a7d87b0e0401dbd3d5a3781260a Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Sun, 30 Jun 2013 21:44:06 +0000 Subject: [PATCH] R600: Fix an unitialized variable in R600InstrInfo.cpp llvm-svn: 185294 --- llvm/lib/Target/R600/R600InstrInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(),