IR: MDNode => Value: Instruction::setMetadata()
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 31 Oct 2014 20:13:11 +0000 (20:13 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 31 Oct 2014 20:13:11 +0000 (20:13 +0000)
commit815275f5de3ce5d79a1d399d2ba86177c4de1aa5
tree80c1c9b5d9f88239481e473e2810bef87412008f
parent2d32816a4542ba0f71c82d017a67a06a8580b513
IR: MDNode => Value: Instruction::setMetadata()

Change `Instruction::setMetadata()` API to accept `Value` instead of
`MDNode`.  Part of PR21433.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220994 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IRBuilder.h
include/llvm/IR/Instruction.h
lib/IR/Metadata.cpp