1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

[NFC] Fix unused variable warning.

llvm-svn: 358080
This commit is contained in:
Clement Courbet 2019-04-10 13:18:05 +00:00
parent 047ea4d571
commit 2c7520f781

View File

@ -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;