[llvm] 54952e9 - Fix an unused variable, NFC.
Haojian Wu via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 22 02:33:38 PST 2024
Author: Haojian Wu
Date: 2024-01-22T11:32:55+01:00
New Revision: 54952e95b1ee1ab361f5523744f5a6eedaad4bd4
URL: https://github.com/llvm/llvm-project/commit/54952e95b1ee1ab361f5523744f5a6eedaad4bd4
DIFF: https://github.com/llvm/llvm-project/commit/54952e95b1ee1ab361f5523744f5a6eedaad4bd4.diff
LOG: Fix an unused variable, NFC.
Added:
Modified:
llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp b/llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
index 091b70e3c1f15e9..ae7ed08194d0d5a 100644
--- a/llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
+++ b/llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
@@ -1454,7 +1454,6 @@ bool AArch64LegalizerInfo::legalizeIntrinsic(LegalizerHelper &Helper,
case Intrinsic::aarch64_neon_uaddlp:
case Intrinsic::aarch64_neon_saddlp: {
MachineIRBuilder MIB(MI);
- MachineRegisterInfo &MRI = *MIB.getMRI();
unsigned Opc = IntrinsicID == Intrinsic::aarch64_neon_uaddlp
? AArch64::G_UADDLP
More information about the llvm-commits
mailing list