llvm.org GIT mirror llvm / eec5b16
Remove unused variables git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315847 91177308-0d34-0410-b5e6-96231b3b80d8 Vitaly Buka 1 year, 11 months ago
6 changed file(s) with 2 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
17111711
17121712 MachineSDNode *CmpSwap = nullptr;
17131713 if (Subtarget->hasAddr64()) {
1714 SDValue SRsrc, VAddr, SOffset, Offset, GLC, SLC;
1714 SDValue SRsrc, VAddr, SOffset, Offset, SLC;
17151715
17161716 if (SelectMUBUFAddr64(Mem->getBasePtr(), SRsrc, VAddr, SOffset, Offset, SLC)) {
17171717 unsigned Opcode = Is32 ? AMDGPU::BUFFER_ATOMIC_CMPSWAP_ADDR64_RTN :
627627 MachineOperand *NonInlineUse = nullptr;
628628 int NonInlineUseOpNo = -1;
629629
630 MachineRegisterInfo::use_iterator NextUse, NextInstUse;
630 MachineRegisterInfo::use_iterator NextUse;
631631 for (MachineRegisterInfo::use_iterator
632632 Use = MRI->use_begin(Dst.getReg()), E = MRI->use_end();
633633 Use != E; Use = NextUse) {
5858
5959 MachineModuleInfo &MMI = MF.getMMI();
6060 const MCRegisterInfo *MRI = MMI.getContext().getRegisterInfo();
61 MachineLocation DstML, SrcML;
6261
6362 // Adjust stack.
6463 TII.makeFrame(Mips::SP, StackSize, MBB, MBBI);
31073107 // direct call is) turn it into a TargetGlobalAddress/TargetExternalSymbol
31083108 // node so that legalize doesn't hack it.
31093109
3110 SDValue CalleeLo;
31113110 EVT Ty = Callee.getValueType();
31123111 bool GlobalOrExternal = false, IsCallReloc = false;
31133112
423423
424424 MachineModuleInfo &MMI = MF.getMMI();
425425 const MCRegisterInfo *MRI = MMI.getContext().getRegisterInfo();
426 MachineLocation DstML, SrcML;
427426
428427 // Adjust stack.
429428 TII.adjustStackPtr(SP, -StackSize, MBB, MBBI);
253253 DiscontiguousStream F(BlocksAry, Data);
254254 auto S = WritableMappedBlockStream::createStream(F.block_size(), F.layout(),
255255 F, F.Allocator);
256 ArrayRef Buffer;
257
258256 EXPECT_THAT_ERROR(S->writeBytes(0, ArrayRef(LargeBuffer)), Failed());
259257 EXPECT_THAT_ERROR(S->writeBytes(0, ArrayRef(SmallBuffer)),
260258 Succeeded());