[NFC] Fix unused variable warning in X86RegisterBankInfo.cpp

llvm-svn: 341198
This commit is contained in:
Alexander Ivchenko 2018-08-31 10:39:54 +00:00
parent 0e21ca1278
commit 5b8418983c
1 changed files with 1 additions and 0 deletions

View File

@ -217,6 +217,7 @@ X86RegisterBankInfo::getInstrMapping(const MachineInstr &MI) const {
"Mismatched operand sizes for G_FCMP");
unsigned Size = Ty1.getSizeInBits();
(void)Size;
assert((Size == 32 || Size == 64) && "Unsupported size for G_FCMP");
auto FpRegBank = getPartialMappingIdx(Ty1, /* isFP */ true);