]> granicus.if.org Git - clang/commit
Fix handling of vector return types.
authorAkira Hatanaka <ahatanaka@mips.com>
Fri, 11 May 2012 21:01:17 +0000 (21:01 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Fri, 11 May 2012 21:01:17 +0000 (21:01 +0000)
commit8aeb1471ef62a4befba00721925a3717914f21d8
tree1bdc5ab379b47457418bde3e7c0689c3649d25fd
parent6ea175b086638cc813d7cd577ece517b0dc48547
Fix handling of vector return types.

A vector should be returned via the hidden pointer argument except if its size
is equal to or smaller than 16-bytes and the target ABI is N32 or N64.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156642 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp
test/CodeGen/mips-vector-return.c [new file with mode: 0644]