summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/segmented-stacks-dynamic.ll
Commit message (Collapse)AuthorAgeFilesLines
* Fix ARMv4 supportJoerg Sonnenberger2017-08-281-4/+4
| | | | | | | | | | | | | | | | | | ARMv4 doesn't support the "BX" instruction, which has been introduced with ARMv4t. Adjust the call lowering and tail call implementation accordingly. Further changes are necessary to ensure that presence of the v4t feature is correctly set. Most importantly, the "generic" CPU for thumb-* triples should include ARMv4t, since thumb mode without thumb support would naturally be pointless. Add a couple of asserts to ensure thumb instructions are not emitted without CPU support. Differential Revision: https://reviews.llvm.org/D37030 llvm-svn: 311921
* If a function needs a frame pointer, but r11 (aka fp) has not been used,Joerg Sonnenberger2014-05-061-2/+2
| | | | | | | | remove it from the list of unspilled registers. Otherwise the following attempt to keep the stack aligned by picking an extra GPR register to spill will not work as it picks up r11. llvm-svn: 208129
* Move the segmented stack switch to a function attributeReid Kleckner2014-04-101-5/+7
| | | | | | | | | This removes the -segmented-stacks command line flag in favor of a per-function "split-stack" attribute. Patch by Luqman Aden and Alex Crichton! llvm-svn: 205997
* ARM: Add support for segmented stacksOliver Stannard2014-04-021-0/+62
Patch by Alex Crichton, ILyoan, Luqman Aden and Svetoslav. llvm-svn: 205430
OpenPOWER on IntegriCloud