llvm-6502/unittests
Duncan P. N. Exon Smith f067a68207 IR: Enable uniquing callbacks during MDNode::replaceWithUniqued()
Uniqued nodes have more complete registration with
`ReplaceableMetadataImpl` so that they can update themselves when
operands change.  Fix a bug where `MDNode::replaceWithUniqued()` wasn't
enabling these callbacks.

The two most obvious ways missing callbacks causes problems is that
auto-resolution fails and re-uniquing (on changed operands) just doesn't
happen.  I've added tests for both -- in both cases, I confirmed that
the final check was failing before the fix.

rdar://problem/20365935

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233751 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-31 20:50:50 +00:00
..
ADT Default to armv7 cpu for NaCl when march=arm 2015-03-26 21:58:46 +00:00
Analysis [PM] Remove the old 'PassManager.h' header file at the top level of 2015-02-13 10:01:29 +00:00
Bitcode [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
CodeGen [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
DebugInfo Purge unused includes throughout libSupport. 2015-03-23 18:07:13 +00:00
ExecutionEngine [MCJIT] Enable MCJIT regression tests on Darwin. 2015-03-31 20:48:52 +00:00
IR IR: Enable uniquing callbacks during MDNode::replaceWithUniqued() 2015-03-31 20:50:50 +00:00
LineEditor [CMake] LineEditorTests: Add Support to link_components. 2014-07-24 11:44:33 +00:00
Linker Opaque Pointer Types: GEP API migrations to specify the gep type explicitly 2015-03-24 23:34:31 +00:00
MC [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
Option Retire llvm::array_endof in favor of non-member std::end. 2014-04-12 16:15:53 +00:00
ProfileData InstrProf: Don't combine expansion regions with code regions 2015-02-18 19:01:06 +00:00
Support Supress MSVC padding warning in alignment test 2015-03-26 18:48:42 +00:00
Transforms Transforms: Update unit tests to use verifyModule() 2015-03-30 21:35:14 +00:00
CMakeLists.txt InstrProf: Add some unit tests for CoverageMapping 2015-02-04 00:15:12 +00:00
Makefile InstrProf: Add some unit tests for CoverageMapping 2015-02-04 00:15:12 +00:00
Makefile.unittest With rpaths being set correctly, SHLIBPATH_VAR is not needed anymore. 2014-02-28 16:16:51 +00:00