Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit c93e390

Browse files
committed
Fix an unused variable warning in non-assert builds
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_60@326075 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 16ebb58 commit c93e390

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Target/AArch64/AArch64InstructionSelector.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -840,6 +840,7 @@ bool AArch64InstructionSelector::select(MachineInstr &I,
840840
case TargetOpcode::G_EXTRACT: {
841841
LLT SrcTy = MRI.getType(I.getOperand(1).getReg());
842842
LLT DstTy = MRI.getType(I.getOperand(0).getReg());
843+
(void)DstTy;
843844
unsigned SrcSize = SrcTy.getSizeInBits();
844845
// Larger extracts are vectors, same-size extracts should be something else
845846
// by now (either split up or simplified to a COPY).

0 commit comments

Comments
 (0)