Go to file
David Blaikie 8e9cfa5497 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.

llvm-svn: 213805
2014-07-23 22:09:29 +00:00
clang PR20228: don't retain a pointer to a vector element after the container has been resized. 2014-07-23 20:07:08 +00:00
clang-tools-extra Add the fix that should've accompanied r213738. 2014-07-23 11:50:54 +00:00
compiler-rt Build libcxx-tsan only if TSan is supported on host architecture 2014-07-23 20:07:26 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc Implement sin builtin for float types 2014-07-23 15:16:21 +00:00
libcxx Fix ctype_base::xdigit for Android. 2014-07-23 19:32:03 +00:00
libcxxabi libcxxabi cmake: Use HandleLLVMOptions.cmake, don't manually add -std=c++11. 2014-07-16 23:53:37 +00:00
lld [PECOFF] Add the entry point file at the right place. 2014-07-23 21:41:20 +00:00
lldb Ensure that if some unspecified person were to pass in an invalid architecture when trying to create a target, that it would fail, but not cause LLDB to crash. 2014-07-23 18:18:38 +00:00
llvm ArgPromo+DebugInfo: Handle updating debug info over multiple applications of argument promotion. 2014-07-23 22:09:29 +00:00
openmp CMake: remove duplicated source file from list 2014-06-02 13:09:24 +00:00
polly [Fix] Typo during refactoring 2014-07-23 20:26:25 +00:00