1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/unittests/Transforms/Utils
Duncan P. N. Exon Smith 9437b219c2 ValueMapper: Resolve cycles on the new nodes
Fix a major bug from r265456.  Although it's now much rarer, ValueMapper
sometimes has to duplicate cycles.  The
might-transitively-reference-a-temporary counts don't decrement on their
own when there are cycles, and you need to call MDNode::resolveCycles to
fix it.

r265456 was checking the input nodes to see if they were unresolved.
This is useless; they should never be unresolved.  Instead we should
check the output nodes and resolve cycles on them.

llvm-svn: 266258
2016-04-13 22:54:01 +00:00
..
ASanStackFrameLayoutTest.cpp
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 ValueMapper: Resolve cycles on the new nodes 2016-04-13 22:54:01 +00:00