]> granicus.if.org Git - llvm/commit
Merged from r220556:
authorDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 1 Dec 2014 14:17:47 +0000 (14:17 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 1 Dec 2014 14:17:47 +0000 (14:17 +0000)
commitb831bf65acfaf9b1696d3823ea0899986e5b1b5e
treede126b036634a53ddff21866a84379ea974bff9a
parent823dcfbd39a31a1c4131293cb44032157bbe38a3
Merged from r220556:

[mips] For N32/N64, structs must be passed in the upper bits of a register.

Summary:
Most structs were fixed by r218451 but those of between >32-bits and
<64-bits remained broken since they were not marked with [ASZ]ExtUpper.
This patch fixes the remaining cases by using
CCPromoteToUpperBitsInType<i64> on i64's in addition to i32 and smaller.

Reviewers: vmedic

Reviewed By: vmedic

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_35@223024 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsCallingConv.td
test/CodeGen/Mips/cconv/return-struct.ll