diff --git a/llvm/lib/Target/AMDGPU/SIInstrInfo.h b/llvm/lib/Target/AMDGPU/SIInstrInfo.h --- a/llvm/lib/Target/AMDGPU/SIInstrInfo.h +++ b/llvm/lib/Target/AMDGPU/SIInstrInfo.h @@ -188,9 +188,8 @@ bool isIgnorableUse(const MachineOperand &MO) const override; - bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, - int64_t &Offset1, - int64_t &Offset2) const override; + bool areLoadsFromSameBasePtr(SDNode *Load0, SDNode *Load1, int64_t &Offset0, + int64_t &Offset1) const override; bool getMemOperandsWithOffsetWidth( const MachineInstr &LdSt, @@ -266,11 +265,11 @@ return commuteOpcode(MI.getOpcode()); } - bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1, - unsigned &SrcOpIdx2) const override; + bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx0, + unsigned &SrcOpIdx1) const override; - bool findCommutedOpIndices(MCInstrDesc Desc, unsigned & SrcOpIdx0, - unsigned & SrcOpIdx1) const; + bool findCommutedOpIndices(MCInstrDesc Desc, unsigned &SrcOpIdx0, + unsigned &SrcOpIdx1) const; bool isBranchOffsetInRange(unsigned BranchOpc, int64_t BrOffset) const override;