[PATCH] [mips] For N32/N64, structs must be passed in the upper bits of a register.

Daniel Sanders daniel.sanders at imgtec.com
Thu Oct 16 02:08:40 PDT 2014


Hi vmedic,

Most structs were fixed by r218451 but those of between >32-bits and <64-bits
remained broken since they were not marked with [ASZ]ExtUpper.
This patch fixes the remaining cases using CCPromoteToUpperBitsInType<i64> on
i64's in addition to i32 and smaller.

http://reviews.llvm.org/D5814

Files:
  lib/Target/Mips/MipsCallingConv.td
  test/CodeGen/Mips/cconv/return-struct.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5814.14993.patch
Type: text/x-patch
Size: 4005 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141016/1dadb9dc/attachment.bin>


More information about the llvm-commits mailing list