mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
R600OptimizeVectorRegisters.cpp: Tweak a warning. [-Wsometimes-uninitialized]
FIXME: Is it false alarm? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183371 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7b6d32a361
commit
0ac857462f
@ -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
Block a user