llvm-project/llvm/test/CodeGen/XCore
Richard Osborne 1333fa3d68 [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.

llvm-svn: 181520
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 FileCheck hygiene. 2012-01-05 00:43:34 +00:00
2011-08-01-VarargsBug.ll
DbgValueOtherTargets.test Remove unnecessary leading comment characters in lit-only file 2013-03-18 22:08:16 +00:00
addsub64.ll
aliases.ll Fix handling of aliases to functions. 2012-11-16 21:12:38 +00:00
ashr.ll Flip the new block-placement pass to be on by default. 2012-04-16 13:49:17 +00:00
basictest.ll
bigstructret.ll
constants.ll
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 No need to run llvm-as. 2012-04-02 19:44:20 +00:00
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 Fix pattern for MKMSK instruction. 2012-06-13 17:59:12 +00:00
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.ll
switch_long.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.ll [XCore] Convert a couple of tests to FileCheck. 2013-04-16 19:41:19 +00:00
unaligned_store_combine.ll