llvm-6502/test/Transforms/ArgumentPromotion
Reid Kleckner 8f58e02646 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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216693 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-28 22:42:00 +00:00
..
2008-02-01-ReturnAttrs.ll
2008-07-02-array-indexing.ll
2008-09-07-CGUpdate.ll
2008-09-08-CGUpdateSelfEdge.ll
aggregate-promote.ll
attrs.ll
basictest.ll
byval-2.ll
byval.ll
callgraph-update.ll
chained.ll
control-flow2.ll
control-flow.ll
crash.ll
dbg.ll
fp80.ll
inalloca.ll
pr3085.ll
reserve-tbaa.ll
tail.ll
variadic.ll