llvm-6502/test/CodeGen/XCore
Richard Osborne 9bd913c4c1 [XCore] Fix handling of functions where only the LR is spilled.
Previously we only checked if the LR required saving if the frame size was
non zero. However because the caller reserves 1 word for the callee to use
that doesn't count towards our frame size it is possible for the LR to need
saving and for the frame size to be 0.

We didn't hit when the LR needed saving because of a function calls because
the 1 word of stack we must allocate for our callee means the frame size
is always non zero in this case. However we can hit this case if the LR is
clobbered in inline asm.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181520 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-09 16:43:42 +00:00
..
2008-11-17-Shl64.ll
2009-01-08-Crash.ll
2009-01-14-Remat-Crash.ll
2009-03-27-v2f64-param.ll
2009-07-15-store192.ll
2010-02-25-LSR-Crash.ll
2011-01-31-DAGCombineBug.ll
2011-08-01-DynamicAllocBug.ll
2011-08-01-VarargsBug.ll
addsub64.ll
aliases.ll
ashr.ll
basictest.ll
bigstructret.ll
constants.ll
DbgValueOtherTargets.test Remove unnecessary leading comment characters in lit-only file 2013-03-18 22:08:16 +00:00
epilogue_prologue.ll [XCore] Fix handling of functions where only the LR is spilled. 2013-05-09 16:43:42 +00:00
events.ll
float-intrinsics.ll
fneg.ll
getid.ll
globals.ll
indirectbr.ll
ladd_lsub_combine.ll
licm-ldwcp.ll
lit.local.cfg Include '.test' suffix in target specific lit configs that need it 2013-03-18 20:31:44 +00:00
load.ll
misc-intrinsics.ll
mkmsk.ll
mul64.ll
offset_folding.ll [XCore] Extend test to check positve offsets are folded into addresses. 2013-04-16 20:05:52 +00:00
private.ll
ps-intrinsics.ll
resources.ll
scavenging.ll
sext.ll
sr-intrinsics.ll
store.ll
switch_long.ll
switch.ll
threads.ll
tls.ll
trampoline.ll
trap.ll
unaligned_load.ll [XCore] Convert a couple of tests to FileCheck. 2013-04-16 19:41:19 +00:00
unaligned_store_combine.ll
unaligned_store.ll [XCore] Convert a couple of tests to FileCheck. 2013-04-16 19:41:19 +00:00