llvm-6502/test
Evan Cheng ab5c703fdb Fix epilogue codegen to avoid leaving the stack pointer in an invalid
state. Previously Thumb2 would restore sp from fp like this:
mov sp, r7
sub, sp, #4
If an interrupt is taken after the 'mov' but before the 'sub', callee-saved
registers might be clobbered by the interrupt handler. Instead, try
restoring directly from sp:
add sp, #4
Or, if necessary (with VLA, etc.) use a scratch register to compute sp and
then restore it:
sub.w r4, r7, #8
mov sp, r7
rdar://8465407


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119977 91177308-0d34-0410-b5e6-96231b3b80d8
2010-11-22 18:12:04 +00:00
..
Analysis Delete unneeded ssp attributes. 2010-11-11 21:08:46 +00:00
Archive
Assembler
Bindings/Ocaml
Bitcode
BugPoint
CodeGen Fix epilogue codegen to avoid leaving the stack pointer in an invalid 2010-11-22 18:12:04 +00:00
DebugInfo Change CodeGen to use .loc directives. This produces a lot more readable output 2010-11-18 02:04:25 +00:00
ExecutionEngine lli: Switch to using ParseIRFile, for consistency with other LLVM tools. 2010-11-13 00:28:01 +00:00
Feature
FrontendAda
FrontendC Test for llvm-gcc patch 119392. 2010-11-16 21:57:15 +00:00
FrontendC++
FrontendFortran
FrontendObjC
FrontendObjC++
Integer
lib
Linker
LLVMC
MC Add encoding for ARM "trap" instruction. 2010-11-21 11:05:29 +00:00
Other
Scripts
TableGen Generalize tblgen's dag parsing logic to handle arbitrary expressions 2010-10-06 04:55:48 +00:00
Transforms If a GEP index simply advances by multiples of a type of zero size, 2010-11-22 16:32:50 +00:00
Unit
Verifier
CMakeLists.txt CMake: Add the new option "LLVM_LIT_ARGS". 2010-11-11 04:09:35 +00:00
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
site.exp.in
TestRunner.sh