ARM: make FastISel & GISel pass -1 to ADJCALLSTACKUP to signal no callee pop.
authorTim Northover <t.p.northover@gmail.com>
Fri, 7 Jan 2022 13:49:18 +0000 (13:49 +0000)
committerTim Northover <t.p.northover@gmail.com>
Tue, 11 Jan 2022 11:31:13 +0000 (11:31 +0000)
commit0b5b35fdbdbf029bb6915e183541556c4eeadd3f
tree4cbb7e0b9107dc039f0ff82eb73f40bb296083d3
parentfba8ad2b719c14e971dfe16458b3d18c08e0e40d
ARM: make FastISel & GISel pass -1 to ADJCALLSTACKUP to signal no callee pop.

The interface for these instructions changed with support for mandatory tail
calls, and now -1 indicates the CalleePopAmount argument is not valid.
Unfortunately I didn't realise FastISel or GISel did calls at the time so
didn't update them.
llvm/lib/Target/ARM/ARMCallLowering.cpp
llvm/lib/Target/ARM/ARMFastISel.cpp
llvm/test/CodeGen/ARM/GlobalISel/arm-call-lowering.ll
llvm/test/CodeGen/ARM/GlobalISel/arm-param-lowering.ll
llvm/test/CodeGen/ARM/GlobalISel/irtranslator-varargs-lowering.ll
llvm/test/CodeGen/ARM/fast-call-frame-restore.ll [new file with mode: 0644]