summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/insn-sched1.ll
Commit message (Collapse)AuthorAgeFilesLines
* Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" ↵Fangrui Song2019-12-241-1/+1
| | | | as cleanups after D56351
* [ARM] Generate consistent frame records for Thumb2Oliver Stannard2016-08-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is not an official documented ABI for frame pointers in Thumb2, but we should try to emit something which is useful. We use r7 as the frame pointer for Thumb code, which currently means that if a function needs to save a high register (r8-r11), it will get pushed to the stack between the frame pointer (r7) and link register (r14). This means that while a stack unwinder can follow the chain of frame pointers up the stack, it cannot know the offset to lr, so does not know which functions correspond to the stack frames. To fix this, we need to push the callee-saved registers in two batches, with the first push saving the low registers, fp and lr, and the second push saving the high registers. This is already implemented, but previously only used for iOS. This patch turns it on for all Thumb2 targets when frame pointers are required by the ABI, and the frame pointer is r7 (Windows uses r11, so this isn't a problem there). If frame pointer elimination is enabled we still emit a single push/pop even if we need a frame pointer for other reasons, to avoid increasing code size. We must also ensure that lr is pushed to the stack when using a frame pointer, so that we end up with a complete frame record. Situations that could cause this were rare, because we already push lr in most situations so that we can return using the pop instruction. Differential Revision: https://reviews.llvm.org/D23516 llvm-svn: 279506
* ARM: fixup more tests to specify the target more explicitlySaleem Abdulrasool2014-04-031-3/+8
| | | | | | | | | | | | | This changes the tests that were targeting ARM EABI to explicitly specify the environment rather than relying on the default. This breaks with the new Windows on ARM support when running the tests on Windows where the default environment is no longer EABI. Take the opportunity to avoid a pointless redirect (helps when trying to debug with providing a command line invocation which can be copy and pasted) and removing a few greps in favour of FileCheck. llvm-svn: 205541
* Fix more places which should be checking for iOS, not darwin.Evan Cheng2012-01-041-1/+1
| | | | llvm-svn: 147513
* Remove more tail calls.Dale Johannesen2010-06-041-1/+1
| | | | llvm-svn: 105450
* Revert 89562. We're being sneakier than I was giving us credit for, and thisJim Grosbach2009-11-211-1/+1
| | | | | | isn't necessary. llvm-svn: 89568
* Darwin requires a frame pointer for all non-leaf functions to support correctJim Grosbach2009-11-211-1/+1
| | | | | | backtraces. llvm-svn: 89562
* Eliminate more uses of llvm-as and llvm-dis.Dan Gohman2009-09-091-2/+2
| | | | llvm-svn: 81293
* Remove llvm-upgrade.Tanya Lattner2008-02-171-7/+7
| | | | llvm-svn: 47238
* Convert tests using "| wc -l | grep ..." to use the count script.Dan Gohman2007-08-151-1/+1
| | | | llvm-svn: 41097
* For PR1319:Reid Spencer2007-04-161-2/+3
| | | | | | | | Remove && from the end of the lines to prevent tests from throwing run lines into the background. Also, clean up places where the same command is run multiple times by using a temporary file. llvm-svn: 36142
* Fix test case.Evan Cheng2007-03-081-1/+1
| | | | llvm-svn: 35029
* Fix test cases.Evan Cheng2007-01-311-1/+1
| | | | llvm-svn: 33725
* ARM fix: Miscompilation when frame pointer can't be eliminated. ↵Lauro Ramos Venancio2007-01-311-1/+1
| | | | | | Uninitialized frame pointer register is used. llvm-svn: 33703
* Fix test case.Evan Cheng2007-01-221-2/+1
| | | | llvm-svn: 33432
* ARM test cases contributed by Apple.Evan Cheng2007-01-191-0/+11
llvm-svn: 33354
OpenPOWER on IntegriCloud