[PATCH] [MIPS] fix extension of integer types (function calls)

Strahinja Petrovic strahinja.petrovic at rt-rk.com
Wed Apr 22 09:09:45 PDT 2015


Hi dsanders, petarj,

Types larger than register size should not be extended. This affect alignment for 128 bit integer types. On mips64 32 bit unsigned int type should not be zero extended, so it is passed directly.

http://reviews.llvm.org/D9198

Files:
  lib/CodeGen/TargetInfo.cpp
  test/CodeGen/atomics-inlining.c
  test/CodeGen/mips-int128-alignment.c
  test/CodeGen/mips-unsigned-extend.c
  test/CodeGen/mips-vector-arg.c
  test/CodeGen/mips64-padding-arg.c
  test/CodeGenCXX/mips-size_t-ptrdiff_t.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9198.24233.patch
Type: text/x-patch
Size: 8143 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150422/c9c77d2a/attachment.bin>


More information about the cfe-commits mailing list