llvm-project/llvm/test/CodeGen/SPARC
Venkatraman Govindaraju 55ecb10e99 [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.  

llvm-svn: 190033
2013-09-05 05:32:16 +00:00
..
64abi.ll Sparc: Perform leaf procedure optimization by default 2013-06-02 02:24:27 +00:00
64bit.ll Mass update to CodeGen tests to use CHECK-LABEL for labels corresponding to function definitions for more informative error messages. No functionality change and all updated tests passed locally. 2013-07-14 06:24:09 +00:00
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-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-Call.ll
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 Regression test for PR2960. 2012-05-01 11:11:34 +00:00
2013-05-17-CallFrame.ll [Sparc] Implements hasReservedCallFrame and hasFP. 2013-05-17 15:14:34 +00:00
DbgValueOtherTargets.test Remove unnecessary leading comment characters in lit-only file 2013-03-18 22:08:16 +00:00
basictest.ll Mass update to CodeGen tests to use CHECK-LABEL for labels corresponding to function definitions for more informative error messages. No functionality change and all updated tests passed locally. 2013-07-14 06:24:09 +00:00
blockaddr.ll Mass update to CodeGen tests to use CHECK-LABEL for labels corresponding to function definitions for more informative error messages. No functionality change and all updated tests passed locally. 2013-07-14 06:24:09 +00:00
constpool.ll Sparc: Perform leaf procedure optimization by default 2013-06-02 02:24:27 +00:00
ctpop.ll Add support for 64-bit calling convention. 2013-04-02 04:09:02 +00:00
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 Sparc: Perform leaf procedure optimization by default 2013-06-02 02:24:27 +00:00
leafproc.ll Mass update to CodeGen tests to use CHECK-LABEL for labels corresponding to function definitions for more informative error messages. No functionality change and all updated tests passed locally. 2013-07-14 06:24:09 +00:00
lit.local.cfg [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
mult-alt-generic-sparc.ll
private.ll test/CodeGen/SPARC/private.ll: Fixup. Forgot to prune old RUN lines. 2012-07-03 04:29:20 +00:00
setjmp.ll [Sparc] Correctly handle call to functions with ReturnsTwice attribute. 2013-09-05 05:32:16 +00:00
varargs.ll Sparc: Mark functions calling llvm.vastart and llvm.returnaddress intrinsics as non-leaf functions. 2013-06-01 20:42:48 +00:00