mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Fix "use of uninitialized variable" static analyzer warning. NFCI.
This commit is contained in:
parent
784552367c
commit
2583e8dbb5
@ -541,7 +541,7 @@ R600InstrInfo::fitsReadPortLimitations(const std::vector<MachineInstr *> &IG,
|
||||
|
||||
std::vector<std::vector<std::pair<int, unsigned>>> IGSrcs;
|
||||
ValidSwizzle.clear();
|
||||
unsigned ConstCount;
|
||||
unsigned ConstCount = 0;
|
||||
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));
|
||||
|
Loading…
Reference in New Issue
Block a user