The attribute is unnecessary because what it implies is handled by the C
calling convention (default).
Details
- Reviewers
sdesmalen efriedma paulwalker-arm thegameg
Diff Detail
Unit Tests
Event Timeline
I thought we kept it around intentionally because it has a different set of callee-save registers? If it turns out we don't care about that, sure, I guess we can drop it.
I think we should keep this because it gives us the possibility to attach it to functions where the function signature wouldn't use it otherwise.
Not exactly sure of the validity of this example but perhaps somebody will want to implement a printf like function (or some other debug/validation/timing function) that's only called by an existing SVE function and doesn't want the whole SVE state being preserved by the caller.
The callee-saves are the same I think
Fair enough, there may well be uses I wasn't aware of and if so we should keep it around, although I don't think in C there's anyway of telling Clang to emit the attribute.