From c36a8d2b3d6e543de8d9f210ecd39a9a0641d826 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185294 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/R600/R600InstrInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(), -- 2.34.1