[PATCH] Don't Promote x86_fp80 byval Pointer Arguments

Thomas Jablin tjablin at gmail.com
Mon Aug 25 18:02:16 PDT 2014

Don't promote byval pointer arguments when when their size in bits is not
equal to their alloc size in bits. This can happen for x86_fp80, where the
size in bits is 80 but the alloca size in bits in 128. Promoting these
types can break passing unions of x86_fp80s and other types.

On Mon, Aug 25, 2014 at 7:58 PM, Thomas Jablin <tjablin at gmail.com> wrote:

> http://reviews.llvm.org/D5057
> Files:
>   lib/Transforms/IPO/ArgumentPromotion.cpp
>   test/Transforms/ArgumentPromotion/fp80.ll
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140825/253163e0/attachment.html>

More information about the llvm-commits mailing list