[PATCH] Add tail call optimization for thumb1-only targets rev. 3

Bjoern Haase bjoern.m.haase at web.de
Sun Jan 18 07:14:06 PST 2015

When re-analyzing prologue and epilogue generation code for thumb1, it seems to me that there is another issue related to the fix done in r210889. The code in head still refers to DPR registers within a possibly available VFP unit and corresponding register spilling and restoring. For thumb1, DPR registers are, however, inaccessible. Prologue and epilogue, thus, should only consider AAPCS calling convention and not AAPCS-VFP. I doubt that this part of the code had shown up as part of copy-and-paste from thumb2/ARM code.?



More information about the llvm-commits mailing list