]> granicus.if.org Git - clang/commit
Merging r217160:
authorDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 1 Dec 2014 10:07:55 +0000 (10:07 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 1 Dec 2014 10:07:55 +0000 (10:07 +0000)
commit805d80457540d068551fa1ccfa8f0d4bd0ce6e24
tree52ea2b488e882008b7a21acb299981a17ad40e2f
parent95535842d63737963fbef0e571c1354d5de04c01
Merging r217160:

[mips] Mark aggregates returned in registers with the 'inreg' attribute.

Summary:
This allows us to easily find them in the backend after the aggregates have
been lowered to other types. This is important on big-endian targets using
the N32/N64 ABI's since these ABI's must shift small structures into the
upper bits of the register.

Reviewers: atanasyan

Reviewed By: atanasyan

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_35@222998 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp
test/CodeGen/mips-vector-return.c
test/CodeGen/mips64-class-return.cpp