Temporarily revert r135528 which distinguishes between two copies of one
authorChandler Carruth <chandlerc@gmail.com>
Fri, 5 Aug 2011 00:51:31 +0000 (00:51 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 5 Aug 2011 00:51:31 +0000 (00:51 +0000)
commit4147f39769d404cab02da4beea852ad2600dadbb
tree549decd9e0d40674ffc0a92c57b7cbc3ea6391d9
parent14c903a76be7933cea746617d3f787fdf4de8203
Temporarily revert r135528 which distinguishes between two copies of one
inlined variable, based on the discussion in PR10542.

This explodes the runtime of several passes down the pipeline due to
a large number of "copies" remaining live across a large function. This
only shows up with both debug and opt, but when it does it creates
a many-minute compile when self-hosting LLVM+Clang. There are several
other cases that show these types of regressions.

All of this is tracked in PR10542, and progress is being made on fixing
the issue. Once its addressed, the re-instated, but until then this
restores the performance for self-hosting and other opt+debug builds.

Devang, let me know if this causes any trouble, or impedes fixing it in
any way, and thanks for working on this!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136953 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/DebugInfo.h
lib/Analysis/DebugInfo.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/Transforms/Utils/InlineFunction.cpp