summaryrefslogtreecommitdiffstats
path: root/llvm/lib/TableGen
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-10-31 23:58:04 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-10-31 23:58:04 +0000
commit7c4fc4e5ae4c8145974397da295587e77c770f62 (patch)
tree23d6a00e47af9c5ba087c0aba2539af47efcc466 /llvm/lib/TableGen
parentada6d1693e540a54e9e50c24791985f1486d2f43 (diff)
downloadbcm5719-llvm-7c4fc4e5ae4c8145974397da295587e77c770f62.tar.gz
bcm5719-llvm-7c4fc4e5ae4c8145974397da295587e77c770f62.zip
IR: MDNode => Value: Add Instruction::getMDNode()
Add `Instruction::getMDNode()` that casts to `MDNode` before changing `Instruction::getMetadata()` to return `Value`. This avoids adding `cast_or_null<MDNode>` boiler-plate throughout the code. Part of PR21433. llvm-svn: 221023
Diffstat (limited to 'llvm/lib/TableGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud