[llvm] 8fc4eb9 - AMDGPU/GlobalISel: Remove unnecessary override
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed May 5 14:35:13 PDT 2021
Author: Matt Arsenault
Date: 2021-05-05T17:35:02-04:00
New Revision: 8fc4eb9e732006b3b4f0b224c79ab097f3026f85
URL: https://github.com/llvm/llvm-project/commit/8fc4eb9e732006b3b4f0b224c79ab097f3026f85
DIFF: https://github.com/llvm/llvm-project/commit/8fc4eb9e732006b3b4f0b224c79ab097f3026f85.diff
LOG: AMDGPU/GlobalISel: Remove unnecessary override
This is the same as the default implementation
Added:
Modified:
llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp b/llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
index 21319ffe20f9..e1df4b420a4c 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
@@ -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 {
More information about the llvm-commits
mailing list