Add unittest for new CanReplace flag on MDNodes
authorTeresa Johnson <tejohnson@google.com>
Wed, 6 Jan 2016 15:02:40 +0000 (15:02 +0000)
committerTeresa Johnson <tejohnson@google.com>
Wed, 6 Jan 2016 15:02:40 +0000 (15:02 +0000)
commit70e34d75d841f9a233effaae4868bf04285acd60
tree697e4c3fca8310ea4b60f7b47fd189b7dfaee55c
parentb3108e1962a66412427154c070c6a95bd7f2b676
Add unittest for new CanReplace flag on MDNodes

This adds a unittest for the support added in r256648 to add
a flag that can be used to prevent RAUW on temporary metadata
used as a map key.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256938 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/IR/MetadataTest.cpp