[llvm] r283899 - Silence unused warning in non-assert builds.
Daniel Jasper via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 11 09:22:36 PDT 2016
Author: djasper
Date: Tue Oct 11 11:22:36 2016
New Revision: 283899
URL: http://llvm.org/viewvc/llvm-project?rev=283899&view=rev
Log:
Silence unused warning in non-assert builds.
Modified:
llvm/trunk/lib/Target/ARM/ARMFrameLowering.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMFrameLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMFrameLowering.cpp?rev=283899&r1=283898&r2=283899&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMFrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMFrameLowering.cpp Tue Oct 11 11:22:36 2016
@@ -1488,6 +1488,7 @@ void ARMFrameLowering::determineCalleeSa
MachineFrameInfo &MFI = MF.getFrameInfo();
MachineRegisterInfo &MRI = MF.getRegInfo();
const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo();
+ (void)TRI; // Silence unused warning in non-assert builds.
unsigned FramePtr = RegInfo->getFrameRegister(MF);
// Spill R4 if Thumb2 function requires stack realignment - it will be used as
More information about the llvm-commits
mailing list