diff options
author | Jessica Paquette <jpaquette@apple.com> | 2019-09-18 22:42:25 +0000 |
---|---|---|
committer | Jessica Paquette <jpaquette@apple.com> | 2019-09-18 22:42:25 +0000 |
commit | ce65ebc39e5bac42308038aab90507611d319d26 (patch) | |
tree | f006c97f7dfa4b235407f897c5eb4cfb41b35f25 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp | |
parent | 0779dffbd4a927d7bf9523482481248c51796907 (diff) | |
download | llvm-ce65ebc39e5bac42308038aab90507611d319d26.zip llvm-ce65ebc39e5bac42308038aab90507611d319d26.tar.gz llvm-ce65ebc39e5bac42308038aab90507611d319d26.tar.bz2 |
[AArch64][GlobalISel] Support lowering musttail calls
Since we now lower most tail calls, it makes sense to support musttail.
Instead of always falling back to SelectionDAG, only fall back when a musttail
call was not able to be emitted as a tail call. Once we can handle most
incoming and outgoing arguments, we can change this to a `report_fatal_error`
like in ISelLowering.
Remove the assert that we don't have varargs and a musttail, and replace it
with a return false. Implementing this requires that we implement
`saveVarArgRegisters` from AArch64ISelLowering, which is an entirely different
patch.
Add GlobalISel lines to vararg-tallcall.ll to make sure that we produce correct
code. Right now we only fall back, but eventually this will be relevant.
Differential Revision: https://reviews.llvm.org/D67681
llvm-svn: 372273
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions