1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/CodeGen/Mips/cconv
Daniel Sanders c3ccff7583 [mips] Add CCValAssign::[ASZ]ExtUpper and CCPromoteToUpperBitsInType and handle struct's correctly on big-endian N32/N64 return values.
Summary:
The N32/N64 ABI's require that structs passed in registers are laid out
such that spilling the register with 'sd' places the struct at the lowest
address. For little endian this is trivial but for big-endian it requires
that structs are shifted into the upper bits of the register.

We also require that structs passed in registers have the 'inreg'
attribute for big-endian N32/N64 to work correctly. This is because the
tablegen-erated calling convention implementation only has access to the
lowered form of struct arguments (one or more integers of up to 64-bits
each) and is unable to determine the original type.

Reviewers: vmedic

Reviewed By: vmedic

Subscribers: llvm-commits

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

llvm-svn: 218451
2014-09-25 12:15:05 +00:00
..
arguments-float.ll [mips] Improve robustness of some tests. 2014-08-14 13:10:48 +00:00
arguments-fp128.ll
arguments-hard-float-varargs.ll [mips][PR19612] Fix va_arg for big-endian mode. 2014-08-01 09:17:39 +00:00
arguments-hard-float.ll
arguments-hard-fp128.ll
arguments-varargs.ll llvm/test/CodeGen/Mips/cconv/arguments-varargs.ll: Add explicit -mtriple=(mips|mipsel)-linux on 4 lines. 2014-08-01 22:15:38 +00:00
arguments.ll [mips] Improve robustness of some tests. 2014-08-14 13:10:48 +00:00
callee-saved-float.ll
callee-saved-fpxx1.ll [mips] Added FPXX modeless calling convention. 2014-07-10 15:36:12 +00:00
callee-saved-fpxx.ll [mips] Added FPXX modeless calling convention. 2014-07-10 15:36:12 +00:00
callee-saved.ll
memory-layout.ll
reserved-space.ll
return-float.ll [mips] Improve robustness of some tests. 2014-08-14 13:10:48 +00:00
return-hard-float.ll [mips] Improve robustness of some tests. 2014-08-14 13:10:48 +00:00
return-hard-fp128.ll
return-struct.ll [mips] Add CCValAssign::[ASZ]ExtUpper and CCPromoteToUpperBitsInType and handle struct's correctly on big-endian N32/N64 return values. 2014-09-25 12:15:05 +00:00
return.ll [mips] Improve robustness of some tests. 2014-08-14 13:10:48 +00:00
stack-alignment.ll