[ARM][GISel] Treat calls as variadic even if only fixed arguments provided
authorOliver Stannard <oliver.stannard@linaro.org>
Wed, 6 Jan 2021 12:12:58 +0000 (12:12 +0000)
committerOliver Stannard <oliver.stannard@linaro.org>
Fri, 15 Jan 2021 09:37:01 +0000 (09:37 +0000)
commit3676ef105389f0a8fd7d0efa1477adc209f0b486
tree0bcef5b4ba1d50a3d956940d92cd9bdbabc26c45
parent021ea78a97ed8f4796d92a61cdf62284def36f1e
[ARM][GISel] Treat calls as variadic even if only fixed arguments provided

For the ARM hard-float calling convention, calls to variadic functions
need to be treated diffrently, even if only the fixed arguments are
provided.

This fixes GCC-C-execute-pr68390 in the test-suite, which is failing on
the ARM GlobaISel bot.
llvm/lib/Target/ARM/ARMCallLowering.cpp
llvm/test/CodeGen/ARM/GlobalISel/irtranslator-varargs-lowering.ll