llvm-project/llvm/test
James Y Knight 3602286937 [SPARC] Fix stupid oversight in stack realignment support.
If you're going to realign %sp to get object alignment properly (which
the code does), and stack offsets and alignments are calculated going
down from %fp (which they are), then the total stack size had better
be a multiple of the alignment. LLVM did indeed ensure that.

And then, after aligning, the sparc frame code added 96 (for sparcv8)
to the frame size, making any requested alignment of 64-bytes or
higher *guaranteed* to be misaligned. The test case added with r245668
even tests this exact scenario, and asserted the incorrect behavior,
which I somehow failed to notice. D'oh.

This change fixes the frame lowering code to align the stack size
*after* adding the spill area, instead.

Differential Revision: http://reviews.llvm.org/D12349

llvm-svn: 246042
2015-08-26 17:57:51 +00:00
..
Analysis Fix how DependenceAnalysis calls delinearization 2015-08-19 02:56:36 +00:00
Assembler [WinEH] Require token linkage in EH pad/ret signatures 2015-08-23 00:26:33 +00:00
Bindings [OCaml] Do not use -warn-error in tests. 2015-07-17 17:33:23 +00:00
Bitcode [test] Testing write access to llvm 2015-08-14 17:42:50 +00:00
BugPoint Fix typo in comment 2015-07-26 11:37:05 +00:00
CodeGen [SPARC] Fix stupid oversight in stack realignment support. 2015-08-26 17:57:51 +00:00
DebugInfo [dwarfdump] Do not apply relocations in mach-o files if there is no LoadedObjectInfo. 2015-08-23 04:44:21 +00:00
ExecutionEngine [mips] Expand JAL instructions when PIC is enabled. 2015-08-18 16:18:09 +00:00
Feature [WinEH] Require token linkage in EH pad/ret signatures 2015-08-23 00:26:33 +00:00
FileCheck
Instrumentation [msan] Precise instrumentation for icmp sgt %x, -1. 2015-08-25 22:19:11 +00:00
Integer
JitListener DI: Disallow uniquable DICompileUnits 2015-08-03 17:26:41 +00:00
LTO Move the personality function from LandingPadInst to Function 2015-06-17 20:52:32 +00:00
LibDriver Add support for producing thin archives in llvm-lib. 2015-07-17 16:01:11 +00:00
Linker Make DW_AT_[MIPS_]linkage_name optional, and off by default for SCE. 2015-08-11 21:36:45 +00:00
MC [llvm-mc] Ignore opcode size prefix in 64-bit CALL disassembly 2015-08-26 16:20:29 +00:00
Object Report an error if a SHT_SYMTAB_SHNDX section has the wrong size. 2015-08-24 21:09:41 +00:00
Other Update test suite to make "ninja check" succeed without native backend builtin 2015-08-04 06:32:54 +00:00
SymbolRewriter
TableGen TableGen: Support folding casts from bits to int 2015-07-31 01:12:06 +00:00
Transforms [SROA] Rip out all support for SSAUpdater in SROA. 2015-08-26 09:09:29 +00:00
Unit
Verifier Verifier: Don't crash on null entries in debug info retained types list 2015-08-22 22:36:40 +00:00
YAMLParser
tools Revert "[dsymutil] Emit real dSYM companion binaries." 2015-08-26 06:41:57 +00:00
.clang-format
CMakeLists.txt TransformUtils: Introduce module splitter. 2015-08-21 02:48:20 +00:00
Makefile
Makefile.tests
TestRunner.sh
lit.cfg TransformUtils: Introduce module splitter. 2015-08-21 02:48:20 +00:00
lit.site.cfg.in Improve lit "native" feature to check if the native backend is builtin 2015-08-04 06:32:31 +00:00