From 48e2eb0b27187776f4a033562828bc44f4dcf58d Mon Sep 17 00:00:00 2001 From: Clement Courbet Date: Wed, 10 Apr 2019 13:18:05 +0000 Subject: [PATCH] [NFC] Fix unused variable warning. llvm-svn: 358080 --- llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp b/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp index 8318018db791..45e59214d7f9 100644 --- a/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp +++ b/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp @@ -840,13 +840,10 @@ bool AArch64InstructionSelector::selectVectorSHL( return false; unsigned Opc = 0; - const TargetRegisterClass *RC = nullptr; if (Ty == LLT::vector(4, 32)) { Opc = AArch64::USHLv4i32; - RC = &AArch64::FPR128RegClass; } else if (Ty == LLT::vector(2, 32)) { Opc = AArch64::USHLv2i32; - RC = &AArch64::FPR64RegClass; } else { LLVM_DEBUG(dbgs() << "Unhandled G_SHL type"); return false;