[GISel][CallLowering] Make isIncomingArgumentHandler a pure virtual method
authorQuentin Colombet <quentin.colombet@gmail.com>
Fri, 18 Oct 2019 20:13:42 +0000 (20:13 +0000)
committerQuentin Colombet <quentin.colombet@gmail.com>
Fri, 18 Oct 2019 20:13:42 +0000 (20:13 +0000)
commit9f9151d49410cee6aa8528b109f3753878b30ba3
tree8812d029826eb97a785118f29e0117b5bb80170a
parentcf25242daaf876085f6f665c26fa3aa3cd502040
[GISel][CallLowering] Make isIncomingArgumentHandler a pure virtual method

The default implementation of isIncomingArgumentHandler could lead
to generating incorrect code.
Make it a pure virtual method, so that targets know they have to
override it to produce correct code.

NFC

Differential Revision: https://reviews.llvm.org/D69187

llvm-svn: 375277
llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
llvm/lib/Target/AArch64/AArch64CallLowering.cpp
llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
llvm/lib/Target/ARM/ARMCallLowering.cpp
llvm/lib/Target/X86/X86CallLowering.cpp