]> granicus.if.org Git - clang/commit
[mips] Mark aggregate arguments passed in registers with the inreg attribute
authorDaniel Sanders <daniel.sanders@imgtec.com>
Fri, 24 Oct 2014 15:30:16 +0000 (15:30 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Fri, 24 Oct 2014 15:30:16 +0000 (15:30 +0000)
commita15aef2d9921f897c0ce819d26472eae30f14ea7
treef28465206a8fd619f29e281d45a4dff94d99eace
parent8e80dfd7885956e0a1cc3bf32d7dc5f490fe4b3c
[mips] Mark aggregate arguments passed in registers with the inreg attribute

Summary:
This allows us to easily identify them in the backend which in turn allows us
to handle them correctly for big-endian targets (where they must be shifted
into the upper bits of the register).

Depends on D5961

Reviewers: atanasyan

Reviewed By: atanasyan

Subscribers: cfe-commits, theraven

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220566 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp
test/CodeGen/mips-byval-arg.c
test/CodeGen/mips-vector-arg.c
test/CodeGen/mips64-class-return.cpp
test/CodeGen/mips64-padding-arg.c