GlobalISel: Don't use virtual for distinguishing arg handlers
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 9 Jul 2020 00:36:48 +0000 (20:36 -0400)
committerMatt Arsenault <arsenm2@gmail.com>
Wed, 22 Jul 2020 18:14:43 +0000 (14:14 -0400)
commit0c92bfa4b8fd47a5525ce967fd3ba6f7557ea408
tree7922c13e4a5cebe30eb19446aaced47bd6cbd646
parentd074749423a7ae33365aecc09548e2a83dbaed98
GlobalISel: Don't use virtual for distinguishing arg handlers

There's no reason to involve the hassle of a virtual method targets
have to override for a simple boolean.

Not sure exactly what's going on with Mips, but it seems to define its
own totally separate handler classes.
llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
llvm/lib/Target/ARM/ARMCallLowering.cpp
llvm/lib/Target/Mips/MipsCallLowering.cpp
llvm/lib/Target/X86/X86CallLowering.cpp