llvm-6502/lib
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
..
Analysis
AsmParser
Bitcode
CodeGen [SDAG] Handle non-integer preferred memset types for non-constant values 2015-03-31 20:35:26 +00:00
DebugInfo
ExecutionEngine [ExecutionEngine] Fix MCJIT::addGlobalMapping. 2015-03-31 20:31:14 +00:00
Fuzzer [fuzzer] Add support for token-based fuzzing (e.g. for C++). Allow string flags. 2015-03-31 20:13:20 +00:00
IR IR: Enable uniquing callbacks during MDNode::replaceWithUniqued() 2015-03-31 20:50:50 +00:00
IRReader
LineEditor
Linker
LTO
MC
Object
Option
Passes
ProfileData
Support
TableGen
Target [Hexagon] Avoid an unused variable warning when assertions are off 2015-03-31 19:43:47 +00:00
Transforms
CMakeLists.txt
LLVMBuild.txt
Makefile