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 Use references to attribute groups on the call/invoke instructions. 2013-02-22 09:09:42 +00:00
2008-07-02-array-indexing.ll
2008-09-07-CGUpdate.ll
2008-09-08-CGUpdateSelfEdge.ll
aggregate-promote.ll
attrs.ll
basictest.ll Convert some byval argpromotion grep tests to FileCheck 2014-06-30 20:44:28 +00:00
byval-2.ll Convert some byval argpromotion grep tests to FileCheck 2014-06-30 20:44:28 +00:00
byval.ll Convert some byval argpromotion grep tests to FileCheck 2014-06-30 20:44:28 +00:00
callgraph-update.ll
chained.ll
control-flow2.ll
control-flow.ll Fix the remaining TCL-style quotes found in the testsuite. This is 2012-07-02 19:09:46 +00:00
crash.ll Update some EH tests that were violating the new EH model. 2013-03-21 18:30:10 +00:00
dbg.ll ArgPromo+DebugInfo: Handle updating debug info over multiple applications of argument promotion. 2014-07-23 22:09:29 +00:00
fp80.ll Don't promote byval pointer arguments when padding matters 2014-08-28 22:42:00 +00:00
inalloca.ll IR: Conservatively verify inalloca arguments 2014-04-30 17:22:00 +00:00
pr3085.ll
reserve-tbaa.ll ArgumentPromotion: correctly transfer TBAA tags and alignments. 2013-11-15 20:41:15 +00:00
tail.ll Don't promote byval pointer arguments when padding matters 2014-08-28 22:42:00 +00:00
variadic.ll ArgPromotion: Don't touch variadic functions 2014-08-25 23:58:48 +00:00