llvm.org GIT mirror llvm / 2b0c82a
Fix buildbot error in SIRegisterInfo.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375373 91177308-0d34-0410-b5e6-96231b3b80d8 Zinovy Nis 1 year, 1 month ago
1 changed file(s) with 4 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
375375
376376 void SIRegisterInfo::resolveFrameIndex(MachineInstr &MI, unsigned BaseReg,
377377 int64_t Offset) const {
378
379 MachineBasicBlock *MBB = MI.getParent();
380 MachineFunction *MF = MBB->getParent();
381378 const SIInstrInfo *TII = ST.getInstrInfo();
382379
383380 #ifndef NDEBUG
394391 #endif
395392
396393 MachineOperand *FIOp = TII->getNamedOperand(MI, AMDGPU::OpName::vaddr);
394 #ifndef NDEBUG
395 MachineBasicBlock *MBB = MI.getParent();
396 MachineFunction *MF = MBB->getParent();
397 #endif
397398 assert(FIOp && FIOp->isFI() && "frame index must be address operand");
398399 assert(TII->isMUBUF(MI));
399400 assert(TII->getNamedOperand(MI, AMDGPU::OpName::soffset)->getReg() ==