[llvm] r358080 - [NFC] Fix unused variable warning.
Clement Courbet via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 10 06:18:05 PDT 2019
Author: courbet
Date: Wed Apr 10 06:18:05 2019
New Revision: 358080
URL: http://llvm.org/viewvc/llvm-project?rev=358080&view=rev
Log:
[NFC] Fix unused variable warning.
Modified:
llvm/trunk/lib/Target/AArch64/AArch64InstructionSelector.cpp
Modified: llvm/trunk/lib/Target/AArch64/AArch64InstructionSelector.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64InstructionSelector.cpp?rev=358080&r1=358079&r2=358080&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64InstructionSelector.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64InstructionSelector.cpp Wed Apr 10 06:18:05 2019
@@ -840,13 +840,10 @@ bool AArch64InstructionSelector::selectV
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;
More information about the llvm-commits
mailing list