r302547 - [mips] Impose a threshold for coercion of aggregates

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Tue May 9 10:18:00 PDT 2017


On Tue, May 9, 2017 at 9:24 AM, Petar Jovanovic via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
> Author: petarj
> Date: Tue May  9 11:24:03 2017
> New Revision: 302547
>
> URL: http://llvm.org/viewvc/llvm-project?rev=302547&view=rev
> Log:
> [mips] Impose a threshold for coercion of aggregates
>
> Modified MipsABIInfo::classifyArgumentType so that it now coerces aggregate
> structures only if the size of said aggregate is less than 16/64 bytes,
> depending on the ABI.
>
> Patch by Stefan Maksimovic.
>
> Differential Revision: https://reviews.llvm.org/D32900
>
> Added:
>     cfe/trunk/test/CodeGen/mips-aggregate-arg.c
> Modified:
>     cfe/trunk/lib/CodeGen/TargetInfo.cpp

Looks like a test is failing due to this:
http://bb.pgr.jp/builders/test-clang-x86_64-linux-R/builds/1932/steps/test_clang/logs/Clang%20%3A%3A%20CodeGen__mips-aggregate-arg.c


More information about the cfe-commits mailing list