aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Lejeune <vljn@ovi.com>2013-06-30 21:44:06 +0000
committerVincent Lejeune <vljn@ovi.com>2013-06-30 21:44:06 +0000
commitc36a8d2b3d6e543de8d9f210ecd39a9a0641d826 (patch)
treede4f9671ebb0477309cf86b2a37b6ec1e4b23b87
parent27bf6e96a73bf35d31ce8f287fa43d5906656747 (diff)
downloadexternal_llvm-c36a8d2b3d6e543de8d9f210ecd39a9a0641d826.zip
external_llvm-c36a8d2b3d6e543de8d9f210ecd39a9a0641d826.tar.gz
external_llvm-c36a8d2b3d6e543de8d9f210ecd39a9a0641d826.tar.bz2
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
-rw-r--r--lib/Target/R600/R600InstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/R600/R600InstrInfo.cpp b/lib/Target/R600/R600InstrInfo.cpp
index 302e402..969a7ce 100644
--- a/lib/Target/R600/R600InstrInfo.cpp
+++ b/lib/Target/R600/R600InstrInfo.cpp
@@ -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(),