[llvm] [M68k] Fix ODR violation in GISel code (PR #72797)
Min-Yih Hsu via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 20 10:09:54 PST 2023
================
@@ -64,8 +64,8 @@ struct M68kIncomingValueHandler : public CallLowering::IncomingValueHandler {
ISD::ArgFlagsTy Flags) override;
};
-struct FormalArgHandler : public M68kIncomingValueHandler {
- FormalArgHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI)
+struct M68kFormalArgHandler : public M68kIncomingValueHandler {
----------------
mshockwave wrote:
In addition to renaming to M68kFormalArgHandler, could we also move this to M68kCallLowering.cpp? I don't think it is exposed to other part of the backend.
https://github.com/llvm/llvm-project/pull/72797
More information about the llvm-commits
mailing list