forked from OSchip/llvm-project
[NFC] Add { } to silence compiler warning [-Wmissing-braces].
../llvm-project/llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp:355:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] return addMappingFromTable<1>(MI, MRI, { 0 }, Table); ^ {} llvm-svn: 373784
This commit is contained in:
parent
2a711814b0
commit
da9e252491
|
@ -352,7 +352,7 @@ AMDGPURegisterBankInfo::getInstrAlternativeMappings(
|
||||||
{ { AMDGPU::SCCRegBankID }, 1 }
|
{ { AMDGPU::SCCRegBankID }, 1 }
|
||||||
};
|
};
|
||||||
|
|
||||||
return addMappingFromTable<1>(MI, MRI, { 0 }, Table);
|
return addMappingFromTable<1>(MI, MRI, {{ 0 }}, Table);
|
||||||
}
|
}
|
||||||
|
|
||||||
LLVM_FALLTHROUGH;
|
LLVM_FALLTHROUGH;
|
||||||
|
|
Loading…
Reference in New Issue