Skip to content

Commit

Permalink
AMDGPU/GlobalISel: Remove unnecessary override
Browse files Browse the repository at this point in the history
This is the same as the default implementation
  • Loading branch information
arsenm committed May 5, 2021
1 parent 23ae35e commit 8fc4eb9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
Expand Up @@ -78,13 +78,6 @@ struct AMDGPUOutgoingValueHandler : public CallLowering::OutgoingValueHandler {
MIRBuilder.buildCopy(PhysReg, ExtReg);
MIB.addUse(PhysReg, RegState::Implicit);
}

bool assignArg(unsigned ValNo, EVT OrigVT, MVT ValVT, MVT LocVT,
CCValAssign::LocInfo LocInfo,
const CallLowering::ArgInfo &Info, ISD::ArgFlagsTy Flags,
CCState &State) override {
return AssignFn(ValNo, ValVT, LocVT, LocInfo, Flags, State);
}
};

struct AMDGPUIncomingArgHandler : public CallLowering::IncomingValueHandler {
Expand Down

0 comments on commit 8fc4eb9

Please sign in to comment.