llvm-6502/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
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
crash.ll
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
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