forked from OSchip/llvm-project
R600OptimizeVectorRegisters.cpp: Tweak a warning. [-Wsometimes-uninitialized]
FIXME: Is it false alarm? llvm-svn: 183371
This commit is contained in:
parent
e5555fc238
commit
4a8f079371
|
@ -179,7 +179,7 @@ MachineInstr *R600VectorRegMerger::RebuildVector(
|
|||
unsigned DstReg = MRI->createVirtualRegister(&AMDGPU::R600_Reg128RegClass);
|
||||
unsigned SubReg = (*It).first;
|
||||
unsigned Swizzle = (*It).second;
|
||||
unsigned Chan;
|
||||
unsigned Chan = 0xDEADBEEF;
|
||||
for (unsigned j = 0, je = RemapChan.size(); j < je; j++) {
|
||||
if (RemapChan[j].first == Swizzle) {
|
||||
Chan = RemapChan[j].second;
|
||||
|
|
Loading…
Reference in New Issue