llvm/test/Transforms/ArgumentPromotion
Reid Kleckner 9d1f8b1b21 ArgPromotion: Don't touch variadic functions
Adding, removing, or changing non-pack parameters can change the ABI
classification of pack parameters. Clang and other frontends encode the
classification in the IR of the call site, but the callee side
determines it dynamically based on the number of registers consumed so
far. Changing the prototype affects the number of registers consumed
would break such code.

Dead argument elimination performs a similar task and already has a
similar check to avoid this problem.

Patch by Thomas Jablin!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216421 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-25 23:58:48 +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 Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2008-09-07-CGUpdate.ll
2008-09-08-CGUpdateSelfEdge.ll
aggregate-promote.ll Make opt default to not adding a target data string and update tests that depend on target data to supply it within the test 2009-11-03 15:29:06 +00:00
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 Make opt default to not adding a target data string and update tests that depend on target data to supply it within the test 2009-11-03 15:29:06 +00:00
control-flow2.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
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
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 Note the PR number. 2014-01-23 20:17:12 +00:00
variadic.ll ArgPromotion: Don't touch variadic functions 2014-08-25 23:58:48 +00:00