summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/IntrinsicInst.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-31 01:05:46 +0000
committerChris Lattner <sabre@nondot.org>2009-12-31 01:05:46 +0000
commit8cb6c3476db18e9ba0ba6b6614945cb96e153ca2 (patch)
treeea5ed50d7107d5d1c6a0ac7dead66066ba139c9e /llvm/lib/VMCore/IntrinsicInst.cpp
parent8dace893faccd8c602e65ac3a8a595252888a1a0 (diff)
downloadbcm5719-llvm-8cb6c3476db18e9ba0ba6b6614945cb96e153ca2.tar.gz
bcm5719-llvm-8cb6c3476db18e9ba0ba6b6614945cb96e153ca2.zip
Optimize MDNode to coallocate the operand list immediately
after the MDNode in memory. This eliminates the operands pointer and saves a new[] per node. Note that the code in DIDerivedType::replaceAllUsesWith is wrong and quite scary. A MDNode should not be RAUW'd with something else: this changes all uses of the mdnode, which may not be debug info related! Debug info should use something non-mdnode for declarations. llvm-svn: 92321
Diffstat (limited to 'llvm/lib/VMCore/IntrinsicInst.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud