[llvm] r254333 - AMDGPU: Fix unused function

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 30 13:32:10 PST 2015


Author: arsenm
Date: Mon Nov 30 15:32:10 2015
New Revision: 254333

URL: http://llvm.org/viewvc/llvm-project?rev=254333&view=rev
Log:
AMDGPU: Fix unused function

Modified:
    llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp

Modified: llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp?rev=254333&r1=254332&r2=254333&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp Mon Nov 30 15:32:10 2015
@@ -542,11 +542,6 @@ SDValue SITargetLowering::LowerParameter
                      Align); // Alignment
 }
 
-static ArrayRef<MCPhysReg> getAllSGPRs() {
-  return makeArrayRef(AMDGPU::SGPR_32RegClass.begin(),
-                      AMDGPU::SGPR_32RegClass.getNumRegs());
-}
-
 SDValue SITargetLowering::LowerFormalArguments(
     SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
     const SmallVectorImpl<ISD::InputArg> &Ins, SDLoc DL, SelectionDAG &DAG,




More information about the llvm-commits mailing list