llvm-6502/lib
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
..
Analysis Make use of the align parameter attribute for all pointer arguments 2014-07-22 16:58:55 +00:00
AsmParser AsmParser: remove deprecated LLIR support 2014-07-23 18:09:31 +00:00
Bitcode
CodeGen DAG: fp->int conversion for non-splat constants. 2014-07-23 20:41:31 +00:00
DebugInfo
ExecutionEngine ExecutionEngine: remove a stray semicolon 2014-07-23 18:09:28 +00:00
IR
IRReader
LineEditor
Linker
LTO AArch64: remove arm64 triple enumerator. 2014-07-23 12:32:47 +00:00
MC AArch64: remove arm64 triple enumerator. 2014-07-23 12:32:47 +00:00
Object AArch64: remove arm64 triple enumerator. 2014-07-23 12:32:47 +00:00
Option
ProfileData
Support AArch64: remove "arm64_be" support in favour of "aarch64_be". 2014-07-23 12:58:11 +00:00
TableGen
Target [X86,AArch64] Extend vcmp w/ unary op combine to work w/ more constants. 2014-07-23 20:41:43 +00:00
Transforms ArgPromo+DebugInfo: Handle updating debug info over multiple applications of argument promotion. 2014-07-23 22:09:29 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile