]> granicus.if.org Git - clang/commit
Make the following changes in the way Mips handles vector arguments and return
authorAkira Hatanaka <ahatanaka@mips.com>
Tue, 3 Jul 2012 19:24:06 +0000 (19:24 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Tue, 3 Jul 2012 19:24:06 +0000 (19:24 +0000)
commitc359f2029d19016560a422551704ccc2419be0b1
tree0c647d0462f2022d7d776af37328f7876a0b9c70
parent9d6e7f3e12f1a825377ace33161e80caeda8cd06
Make the following changes in the way Mips handles vector arguments and return
values:

- Return integer vectors in integer registers.
- Pass vector arguments in integer registers.
- Set an upper bound for argument alignment. The largest alignment is 8-byte
  for O32 and 16-byte for N32/64.

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