llvm/unittests/Transforms/Utils
Peter Collingbourne af289e0441 Cloning: Reduce complexity of debug info cloning and fix correctness issue.
Commit r260791 contained an error in that it would introduce a cross-module
reference in the old module. It also introduced O(N^2) complexity in the
module cloner by requiring the entire module to be visited for each function.
Fix both of these problems by avoiding use of the CloneDebugInfoMetadata
function (which is only designed to do intra-module cloning) and cloning
function-attached metadata in the same way that we clone all other metadata.

Differential Revision: http://reviews.llvm.org/D18583

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264935 91177308-0d34-0410-b5e6-96231b3b80d8
2016-03-30 22:05:13 +00:00
..
ASanStackFrameLayoutTest.cpp Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
Cloning.cpp Cloning: Reduce complexity of debug info cloning and fix correctness issue. 2016-03-30 22:05:13 +00:00
CMakeLists.txt Fix SHARED_LIBS build 2016-03-02 00:58:48 +00:00
IntegerDivision.cpp unittests: Remove implicit ilist iterator conversions, NFC 2015-10-20 18:30:20 +00:00
Local.cpp [RemoveDuplicatePHINodes] Start over after removing a PHI. 2015-09-02 19:52:23 +00:00
MemorySSA.cpp Really fix ASAN leak/etc issues with MemorySSA unittests 2016-03-02 21:16:28 +00:00
ValueMapperTest.cpp Linker: Move distinct MDNodes instead of cloning 2015-08-03 17:09:38 +00:00