OSDN Git Service

Change SPU C calling convention to match that described in
authorKalle Raiskila <kalle.raiskila@nokia.com>
Wed, 18 Aug 2010 09:50:30 +0000 (09:50 +0000)
committerKalle Raiskila <kalle.raiskila@nokia.com>
Wed, 18 Aug 2010 09:50:30 +0000 (09:50 +0000)
commit44ff5f5435c60558b47d975655385f15b0dee01c
tree0d66f12f430d43e74a3538941756ed33bc241f7e
parent285d06ca93467f325c99f875a9dd91c9bce62ff5
Change SPU C calling convention to match that described in
"SPU Application Binary Interface Specification, v1.9" by
IBM.
Specifically: use r3-r74 to pass parameters and the return value.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111358 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/CellSPU/SPUCallingConv.td
test/CodeGen/CellSPU/arg_ret.ll [new file with mode: 0644]