llvm-6502/test/CodeGen/Thumb
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
..
2007-01-31-RegInfoAssert.ll
2007-02-02-JoinIntervalsCrash.ll
2007-03-06-AddR7.ll
2007-05-05-InvalidPushPop.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2009-06-18-ThumbCommuteMul.ll
2009-07-19-SPDecBug.ll
2009-07-20-TwoAddrBug.ll
2009-07-27-PEIAssert.ll
2009-08-12-ConstIslandAssert.ll
2009-08-12-RegInfoAssert.ll
2009-08-20-ISelBug.ll
2009-12-17-pre-regalloc-taildup.ll
2010-01-15-local-alloc-spill-physical.ll
2010-04-07-DbgValueOtherTargets.ll
2010-06-18-SibCallCrash.ll
2010-07-01-FuncAlign.ll
2010-07-15-debugOrdering.ll Try again to disable critical edge splitting in CodeGenPrepare. 2010-09-30 20:51:52 +00:00
asmprinter-bug.ll
barrier.ll Do not use MEMBARRIER_MCR for any Thumb code. 2010-11-09 22:50:44 +00:00
dg.exp
dyn-stackalloc.ll Fix epilogue codegen to avoid leaving the stack pointer in an invalid 2010-11-22 18:12:04 +00:00
fpconv.ll
fpow.ll
frame_thumb.ll
iabs.ll
inlineasm-imm-thumb.ll
ispositive.ll
large-stack.ll Fix epilogue codegen to avoid leaving the stack pointer in an invalid 2010-11-22 18:12:04 +00:00
ldr_ext.ll
ldr_frame.ll
long_shift.ll
long-setcc.ll
long.ll These tests are looking for library function names that 2010-11-17 21:57:32 +00:00
machine-licm.ll
mul.ll
pop.ll
push.ll
select.ll These tests are looking for library function names that 2010-11-17 21:57:32 +00:00
stack-frame.ll
thumb-imm.ll
trap.ll
tst_teq.ll
unord.ll
vargs.ll Update test for 112609 2010-08-31 17:58:47 +00:00