[PATCH] D39700: [Builtins] Do not use tailcall for Thumb1

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 7 15:17:50 PST 2017


rengolin added a comment.

In https://reviews.llvm.org/D39700#918559, @dalias wrote:

> Looking further at this, it looks like your current implementations of the __aeabi_* functions are simply wrong - they clobber registers that the ABI does not allow them to clobber.


Those are not clobbering r0~r3, just moving the arguments around, as mem* functions are assumed to be in GNU ABI. (yet another horrible mess).


https://reviews.llvm.org/D39700





More information about the llvm-commits mailing list