1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/test
Hal Finkel 79a33a00d6 PPC: Add base-pointer support to builtin setjmp/longjmp
First, this changes the base-pointer implementation to remove an unnecessary
complication (and one that is incompatible with how builtin SjLj is
implemented): instead of using r31 as the base pointer when it is not needed as
a frame pointer, now the base pointer will always be r30 when needed.

Second, we introduce another pseudo register, BP, which is used just like the FP
pseudo register to refer to the base register before we know for certain what
register it will be.

Third, we now save BP into the jmp_buf, and restore r30 from that slot in
longjmp.  If the function that called setjmp did not use a base pointer, then
r30 will be overwritten by the setjmp-calling-function's restore code. FP
restoration (which is restored into r31) works the same way.

llvm-svn: 186545
2013-07-17 23:50:51 +00:00
..
Analysis Add newlines at end of test files, no functionality change 2013-07-13 22:00:58 +00:00
Assembler Fix test: It was missing run lines and llvm-dis has no -disable-verify option. 2013-07-03 16:27:55 +00:00
Bindings/Ocaml Fix %t typo in Ocaml bindings test. 2013-07-10 18:55:06 +00:00
Bitcode Add some uncovered attribute tests 2013-07-17 22:13:44 +00:00
BugPoint
CodeGen PPC: Add base-pointer support to builtin setjmp/longjmp 2013-07-17 23:50:51 +00:00
DebugInfo Further simplify test case from r186119/r186035. 2013-07-15 22:28:45 +00:00
ExecutionEngine Add newlines at end of test files, no functionality change 2013-07-13 22:00:58 +00:00
Feature
FileCheck Add new directive called CHECK-LABEL to FileCheck. 2013-07-12 14:51:05 +00:00
Instrumentation [msan] Unpoison stack allocations and undef values in blacklisted functions. 2013-07-03 14:39:14 +00:00
Integer
JitListener
Linker
MC Implement eret and deret(return from exception) instructions for Mips. Test examples are given. 2013-07-17 14:05:19 +00:00
Object Split openFileForRead into Windows and Unix versions. 2013-07-17 14:58:25 +00:00
Other XFAIL this test on mingw. 2013-07-16 19:20:29 +00:00
TableGen
tools Revert: Fix wrong code offset for unwind code SET_FPREG. 2013-07-08 04:48:34 +00:00
Transforms Restore r181216, which was partially reverted in r182499. 2013-07-17 20:06:03 +00:00
Unit
Verifier
YAMLParser
CMakeLists.txt llvm/test/CMakeLists.txt: Add llvm-cov in "check-clang". 2013-07-08 08:44:36 +00:00
lit.cfg Add the ability to use guarded malloc when running llvm lit tests. 2013-07-11 23:36:57 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh