llvm-6502/test
Bob Wilson 0035f9c3b9 pr4926: ARM requires the stack pointer to be aligned, even for leaf functions.
For the AAPCS ABI, SP must always be 4-byte aligned, and at any "public
interface" it must be 8-byte aligned.  For the older ARM APCS ABI, the stack
alignment is just always 4 bytes.  For X86, we currently align SP at
entry to a function (e.g., to 16 bytes for Darwin), but no stack alignment
is needed at other times, such as for a leaf function.

After discussing this with Dan, I decided to go with the approach of adding
a new "TransientStackAlignment" field to TargetFrameInfo.  This value
specifies the stack alignment that must be maintained even in between calls.
It defaults to 1 except for ARM, where it is 4.  (Some other targets may
also want to set this if they have similar stack requirements. It's not
currently required for PPC because it sets targetHandlesStackFrameRounding
and handles the alignment in target-specific code.) The existing StackAlignment
value specifies the alignment upon entry to a function, which is how we've
been using it anyway.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82767 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-25 14:41:49 +00:00
..
Analysis Auto-upgrade malloc instructions to malloc calls. 2009-09-24 17:47:49 +00:00
Archive Merge Archive/extract* tests into one; this avoids a race when tests are run in 2009-09-08 23:44:24 +00:00
Assembler Clean up the usage of evaluateICmpRelation's return value. 2009-09-20 04:27:06 +00:00
Bindings/Ocaml Switch Ocaml to use llvm_supports_binding. 2009-09-13 01:41:47 +00:00
Bitcode Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
BugPoint Use -output-prefix in bugpoint tests so that outputs go in temp directory (and 2009-09-07 19:26:18 +00:00
CodeGen pr4926: ARM requires the stack pointer to be aligned, even for leaf functions. 2009-09-25 14:41:49 +00:00
DebugInfo Eliminate more redundant llvm-as calls. 2009-09-11 18:17:12 +00:00
ExecutionEngine Remove failing test... 2009-09-09 00:30:25 +00:00
Feature Write and read metadata attachments. 2009-09-18 19:26:43 +00:00
FrontendAda
FrontendC Reenable sqrt IR generation test. 2009-09-24 23:37:40 +00:00
FrontendC++ Testcase for (llvm-gcc) 81399. Adjust an older 2009-09-09 23:37:46 +00:00
FrontendFortran
FrontendObjC Fix some misspellings of XTARGET. 2009-08-31 18:05:23 +00:00
FrontendObjC++
Integer Eliminate some Tclisms. 2009-09-05 11:34:46 +00:00
lib tests: Add llvm_supports_binding predicate. 2009-09-13 01:41:18 +00:00
Linker When a constant's type is refined, update the constant in place 2009-09-15 15:58:07 +00:00
LLVMC Fix a small issue with recent changes to this code. 2009-09-13 20:14:57 +00:00
MC Move ARM and X86 specific AsmParser tests into separate subdirectories, and only 2009-09-21 00:05:30 +00:00
Other Forbid arrays of function-type and structures with function-typed fields. 2009-09-15 06:28:26 +00:00
Scripts Add count/not tools as executables. 2009-09-24 06:23:57 +00:00
TableGen
Transforms Constant propagating byval pointer is safe if function is readonly. 2009-09-24 18:33:42 +00:00
Unit Teach 'make check-lit' to run unittests. 2009-09-14 02:39:01 +00:00
Verifier Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
CMakeLists.txt Initial support for running LLVM tests from cmake. 2009-09-22 07:38:44 +00:00
lit.cfg tests: Add llvm_supports_binding predicate. 2009-09-13 01:41:18 +00:00
lit.site.cfg.in Generate lit.site.cfg from a .in file, as clang does. 2009-09-22 07:38:33 +00:00
Makefile Generate lit.site.cfg from a .in file, as clang does. 2009-09-22 07:38:33 +00:00
Makefile.tests Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
site.exp.in Initial support for running LLVM tests from cmake. 2009-09-22 07:38:44 +00:00
TestRunner.sh