mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-04 08:41:49 +00:00
R600: Fix an unitialized variable in R600InstrInfo.cpp
llvm-svn: 185294
This commit is contained in:
parent
1560b2eb19
commit
8a53bf61f4
@ -449,7 +449,7 @@ R600InstrInfo::fitsReadPortLimitations(const std::vector<MachineInstr *> &IG,
|
|||||||
std::vector<std::vector<std::pair<int, unsigned> > > IGSrcs;
|
std::vector<std::vector<std::pair<int, unsigned> > > IGSrcs;
|
||||||
ValidSwizzle.clear();
|
ValidSwizzle.clear();
|
||||||
unsigned ConstCount;
|
unsigned ConstCount;
|
||||||
BankSwizzle TransBS;
|
BankSwizzle TransBS = ALU_VEC_012_SCL_210;
|
||||||
for (unsigned i = 0, e = IG.size(); i < e; ++i) {
|
for (unsigned i = 0, e = IG.size(); i < e; ++i) {
|
||||||
IGSrcs.push_back(ExtractSrcs(IG[i], PV, ConstCount));
|
IGSrcs.push_back(ExtractSrcs(IG[i], PV, ConstCount));
|
||||||
unsigned Op = getOperandIdx(IG[i]->getOpcode(),
|
unsigned Op = getOperandIdx(IG[i]->getOpcode(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user