HomePhabricator

Move tail call disabling code to target independent code

Authored by rnk on Dec 2 2019, 4:42 PM.

Description

Move tail call disabling code to target independent code

When the "disable-tail-calls" attribute was added, checks were added for
it in various backends. Now this code has proliferated, and it is
something the target is responsible for checking. Move that
responsibility back to the ISels (fast, global, and SD).

There's no major functionality change, except for targets that never
implemented this check.

This LLVM attribute was originally added in
d9699bc7bdf0362173fcd256690f61a4d47429c2 (2015).

Reviewers: echristo, MaskRay

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

Details

Committed
rnkJan 3 2020, 11:27 AM
Differential Revision
D72118: Move tail call disabling code to target independent code
Parents
rGe5a56f2d50ce: Remove outdated svn/git information from hacking page
Branches
Unknown
Tags
Unknown