[llvm-branch-commits] [llvm-branch] r326075 - Fix an unused variable warning in non-assert builds
Hans Wennborg via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Feb 26 01:56:32 PST 2018
Author: hans
Date: Mon Feb 26 01:56:32 2018
New Revision: 326075
URL: http://llvm.org/viewvc/llvm-project?rev=326075&view=rev
Log:
Fix an unused variable warning in non-assert builds
Modified:
llvm/branches/release_60/lib/Target/AArch64/AArch64InstructionSelector.cpp
Modified: llvm/branches/release_60/lib/Target/AArch64/AArch64InstructionSelector.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_60/lib/Target/AArch64/AArch64InstructionSelector.cpp?rev=326075&r1=326074&r2=326075&view=diff
==============================================================================
--- llvm/branches/release_60/lib/Target/AArch64/AArch64InstructionSelector.cpp (original)
+++ llvm/branches/release_60/lib/Target/AArch64/AArch64InstructionSelector.cpp Mon Feb 26 01:56:32 2018
@@ -840,6 +840,7 @@ bool AArch64InstructionSelector::select(
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).
More information about the llvm-branch-commits
mailing list