[llvm] r364426 - AMDGPU: Fix unused variable
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 26 06:48:04 PDT 2019
Author: arsenm
Date: Wed Jun 26 06:48:04 2019
New Revision: 364426
URL: http://llvm.org/viewvc/llvm-project?rev=364426&view=rev
Log:
AMDGPU: Fix unused variable
Modified:
llvm/trunk/lib/Target/AMDGPU/SIFrameLowering.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/SIFrameLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/SIFrameLowering.cpp?rev=364426&r1=364425&r2=364426&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/SIFrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/SIFrameLowering.cpp Wed Jun 26 06:48:04 2019
@@ -526,7 +526,6 @@ void SIFrameLowering::emitEntryFunctionS
static unsigned findScratchNonCalleeSaveRegister(MachineFunction &MF,
LivePhysRegs &LiveRegs,
const TargetRegisterClass &RC) {
- const GCNSubtarget &Subtarget = MF.getSubtarget<GCNSubtarget>();
MachineRegisterInfo &MRI = MF.getRegInfo();
// Mark callee saved registers as used so we will not choose them.
More information about the llvm-commits
mailing list