llvm.org GIT mirror llvm / cd235cc
AMDGPU: Fix unused variable in release build git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365378 91177308-0d34-0410-b5e6-96231b3b80d8 Matt Arsenault 4 months ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
847847
848848 if (FuncInfo->FramePointerSaveIndex) {
849849 const int FI = FuncInfo->FramePointerSaveIndex.getValue();
850 const MachineFrameInfo &MFI = MF.getFrameInfo();
851
852 assert(!MFI.isDeadObjectIndex(FI));
853 assert(MFI.getStackID(FI) == TargetStackID::SGPRSpill);
850
851 assert(!MF.getFrameInfo().isDeadObjectIndex(FI) &&
852 MF.getFrameInfo().getStackID(FI) == TargetStackID::SGPRSpill);
853
854854 ArrayRef Spill
855855 = FuncInfo->getSGPRToVGPRSpills(FI);
856856 assert(Spill.size() == 1);