llvm-6502/test/CodeGen/SPARC
Venkatraman Govindaraju 1b41835f02 [Sparc] Correctly handle call to functions with ReturnsTwice attribute.
In sparc, setjmp stores only the registers %fp, %sp, %i7 and %o7. longjmp restores
the stack, and the callee-saved registers (all local/in registers: %i0-%i7, %l0-%l7)
using the stored %fp and register windows. However, this does not guarantee that the longjmp
will restore the registers, as they were when the setjmp was called. This is because these
registers may be clobbered after returning from setjmp, but before calling longjmp.

This patch prevents the registers %i0-%i5, %l0-l7 to live across the setjmp call using the register mask.  



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190033 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-05 05:32:16 +00:00
..
64abi.ll
64bit.ll
64cond.ll Allocate local registers in order for optimal coloring. 2013-07-25 18:35:14 +00:00
2006-01-22-BitConvertLegalize.ll
2007-05-09-JumpTables.ll
2007-07-05-LiveIntervalAssert.ll
2008-10-10-InlineAsmMemoryOperand.ll
2008-10-10-InlineAsmRegOperand.ll
2009-08-28-PIC.ll
2009-08-28-WeakLinkage.ll
2011-01-11-Call.ll
2011-01-11-CC.ll Update to more CodeGen tests to use CHECK-LABEL for labels corresponding to function definitions for more informative error messages. No functionality change. 2013-07-18 22:47:09 +00:00
2011-01-11-FrameAddr.ll Update to more CodeGen tests to use CHECK-LABEL for labels corresponding to function definitions for more informative error messages. No functionality change. 2013-07-18 22:47:09 +00:00
2011-01-19-DelaySlot.ll Update to more CodeGen tests to use CHECK-LABEL for labels corresponding to function definitions for more informative error messages. No functionality change. 2013-07-18 22:47:09 +00:00
2011-01-21-ByValArgs.ll Update to more CodeGen tests to use CHECK-LABEL for labels corresponding to function definitions for more informative error messages. No functionality change. 2013-07-18 22:47:09 +00:00
2011-01-22-SRet.ll Update to more CodeGen tests to use CHECK-LABEL for labels corresponding to function definitions for more informative error messages. No functionality change. 2013-07-18 22:47:09 +00:00
2011-12-03-TailDuplication.ll
2012-05-01-LowerArguments.ll
2013-05-17-CallFrame.ll
basictest.ll
blockaddr.ll
constpool.ll
ctpop.ll
DbgValueOtherTargets.test
float.ll [Sparc] Added V9's extra floating point registers and their aliases. 2013-08-25 17:03:02 +00:00
fp128.ll [Sparc] Fix an assertion failure while lowering fcmp on long double. 2013-09-04 15:15:20 +00:00
globals.ll
leafproc.ll
lit.local.cfg [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
mult-alt-generic-sparc.ll
private.ll
setjmp.ll [Sparc] Correctly handle call to functions with ReturnsTwice attribute. 2013-09-05 05:32:16 +00:00
varargs.ll