forked from OSchip/llvm-project
[NFC] Fix unused variable warning in X86RegisterBankInfo.cpp
llvm-svn: 341198
This commit is contained in:
parent
0e21ca1278
commit
5b8418983c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue