llvm-6502/test/Transforms/ArgumentPromotion
David Blaikie ccd1035ad4 ArgPromo+DebugInfo: Handle updating debug info over multiple applications of argument promotion.
While the subprogram map cache used by Dead Argument Elimination works
there, I made a mistake when reusing it for Argument Promotion in
r212128 because ArgPromo may transform functions more than once whereas
DAE transforms each function only once, removing all the dead arguments
in one go.

To address this, ensure that the map is updated after each argument
promotion.

In retrospect it might be a little wasteful to create a map of all
subprograms when only handling a single CGSCC, but the alternative is
walking the debug info for each function in the CGSCC that gets updated.
It's not clear to me what the right tradeoff is there, but since the
current tradeoff seems to be working OK (and the code to keep things
updated is very cheap), let's stick with that for now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213805 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-23 22:09:29 +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
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