HomePhabricator

Don't promote byval pointer arguments when padding matters

Description

Don't promote byval pointer arguments when padding matters

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.

Patch by Thomas Jablin!

Reviewed By: rnk

Differential Revision: http://reviews.llvm.org/D5057

Details

Committed
rnkAug 28 2014, 3:42 PM
Reviewer
rnk
Differential Revision
D5057: Don't Promote x86_fp80 byval Pointer Arguments
Parents
rL216692: [asan] introduce __asan_load_cxx_array_cookie: check that the array cookie…
Branches
Unknown
Tags
Unknown

Event Timeline