R600OptimizeVectorRegisters.cpp: Tweak a warning. [-Wsometimes-uninitialized]

FIXME: Is it false alarm?
llvm-svn: 183371
This commit is contained in:
NAKAMURA Takumi 2013-06-06 02:15:12 +00:00
parent e5555fc238
commit 4a8f079371
1 changed files with 1 additions and 1 deletions

View File

@ -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;