[llvm] 53801a5 - Fix two unused-variable warnings.
Michael Forster via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 7 06:19:18 PDT 2021
Author: Michael Forster
Date: 2021-10-07T15:17:58+02:00
New Revision: 53801a59eb05863cc90c76911dd18117922a5fe1
URL: https://github.com/llvm/llvm-project/commit/53801a59eb05863cc90c76911dd18117922a5fe1
DIFF: https://github.com/llvm/llvm-project/commit/53801a59eb05863cc90c76911dd18117922a5fe1.diff
LOG: Fix two unused-variable warnings.
Added:
Modified:
llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp b/llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
index 099afe3926ec..3874db5792d6 100644
--- a/llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
+++ b/llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
@@ -1764,12 +1764,14 @@ void ARMLowOverheadLoops::Expand(LowOverheadLoop &LoLoop) {
ARM::D0 + (Dst - ARM::Q0) * 2)
.addReg(ARM::D0 + (Src - ARM::Q0) * 2)
.add(predOps(ARMCC::AL));
+ (void)MIB1;
LLVM_DEBUG(dbgs() << " into " << *MIB1);
auto MIB2 = BuildMI(*MBB, MI, MI->getDebugLoc(), TII->get(ARM::VMOVD),
ARM::D0 + (Dst - ARM::Q0) * 2 + 1)
.addReg(ARM::D0 + (Src - ARM::Q0) * 2 + 1)
.add(predOps(ARMCC::AL));
LLVM_DEBUG(dbgs() << " and " << *MIB2);
+ (void)MIB2;
MI->eraseFromParent();
}
};
More information about the llvm-commits
mailing list