summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcMachineFunctionInfo.h
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-12-27 01:17:40 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-12-27 01:17:40 +0000
commit4c131387c3104dcac8b16c65ac8ef867bfc26e67 (patch)
tree24bb5a04d427c83d271966d5c13e87a340534c01 /llvm/lib/Target/Sparc/SparcMachineFunctionInfo.h
parent2b14b80b6043650d259b85e419f2c80f97c4f1e3 (diff)
downloadbcm5719-llvm-4c131387c3104dcac8b16c65ac8ef867bfc26e67.tar.gz
bcm5719-llvm-4c131387c3104dcac8b16c65ac8ef867bfc26e67.zip
Using Inst->setMetadata(..., NULL) should be safe to remove metadata even when
there is non of that type to remove. This fixes a crasher in the particular case where the instruction has metadata but no metadata storage in the context (this is only possible if the instruction has !dbg but no other metadata info). llvm-svn: 147285
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcMachineFunctionInfo.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud