Fix unused assertion variable warning.

llvm-svn: 325464
This commit is contained in:
Amara Emerson 2018-02-18 17:28:34 +00:00
parent 7e9f348b2d
commit 242efdb54b
1 changed files with 1 additions and 0 deletions

View File

@ -815,6 +815,7 @@ bool AArch64InstructionSelector::select(MachineInstr &I,
case TargetOpcode::G_EXTRACT: {
LLT SrcTy = MRI.getType(I.getOperand(1).getReg());
LLT DstTy = MRI.getType(I.getOperand(0).getReg());
(void)DstTy;
unsigned SrcSize = SrcTy.getSizeInBits();
// Larger extracts are vectors, same-size extracts should be something else
// by now (either split up or simplified to a COPY).