[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:
Huihui Zhang 2019-10-04 20:04:34 +00:00
parent 2a711814b0
commit da9e252491
1 changed files with 1 additions and 1 deletions

View File

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