IR: Extract MDNodeOpsKey, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 19 Jan 2015 22:53:18 +0000 (22:53 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 19 Jan 2015 22:53:18 +0000 (22:53 +0000)
commitfce53dd939178a498bfbbf91084164a10f5b6776
treed3d96d70027691ea0692ddc53466f8c545f7690d
parentce8f144e00580fbf4400d18750fc3d37d085239b
IR: Extract MDNodeOpsKey, NFC

Make the MDTuple operand hashing logic reusable.

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