[ARM] prologue instructions emitted for naked function with >64 byte argument
The naked function attribute is meant to suppress all function
On ARM, some are still emitted if an argument greater than 64 bytes in size
(the threshold for using the byval attribute in IR) is passed partially
Perform the check for Attribute::Naked and early exit in
Checking in ARMFrameLowering::determineCalleeSaves() is too late.
A test case is included.
Reviewers: llvm-commits, olista01, danielkiss
Reviewed By: danielkiss
Subscribers: kristof.beyls, hiraditya, danielkiss
Differential Revision: https://reviews.llvm.org/D80715