[PATCH] [mips] Fix passing of small structures for big-endian O32 .

Daniel Sanders daniel.sanders at imgtec.com
Mon Dec 1 08:00:42 PST 2014


Hi vmedic,

Like N32/N64, they must be passed in the upper bits of the register.

The new code could be merged with the existing if-statements but I've
refrained from doing this since it will make porting the O32 implementation
to tablegen harder later.

http://reviews.llvm.org/D6463

Files:
  lib/Target/Mips/MipsISelLowering.cpp
  test/CodeGen/Mips/cconv/arguments-struct.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6463.16767.patch
Type: text/x-patch
Size: 3396 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141201/92de02a7/attachment.bin>


More information about the llvm-commits mailing list