summaryrefslogtreecommitdiffstats
path: root/llvm/test/Assembler/invalid_cast.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-04-08 10:20:49 +0000
committerBill Wendling <isanbard@gmail.com>2012-04-08 10:20:49 +0000
commit5c0068f8075e4e687df8c7f2fee1c47224077af9 (patch)
treefe51f80ec8f96cec59861f54fffb717b77f92b4e /llvm/test/Assembler/invalid_cast.ll
parent9b2503a006864b2f93dae4950144b07a2b9bd31b (diff)
downloadbcm5719-llvm-5c0068f8075e4e687df8c7f2fee1c47224077af9.tar.gz
bcm5719-llvm-5c0068f8075e4e687df8c7f2fee1c47224077af9.zip
Remove the 'Parent' pointer from the MDNodeOperand class.
An MDNode has a list of MDNodeOperands allocated directly after it as part of its allocation. Therefore, the Parent of the MDNodeOperands can be found by walking back through the operands to the beginning of that list. Mark the first operand's value pointer as being the 'first' operand so that we know where the beginning of said list is. This saves a *lot* of space during LTO with -O0 -g flags. llvm-svn: 154280
Diffstat (limited to 'llvm/test/Assembler/invalid_cast.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud