summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/annotate-comments.cpp
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2012-07-06 23:09:25 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2012-07-06 23:09:25 +0000
commitfa0dffcceedb408c42716a3877c4357371a0fb55 (patch)
tree3b7e47b6ef22fcf58b8dd071f6c5582819e65870 /clang/test/Index/annotate-comments.cpp
parent9877f689f282b19ca697aa8c6fecd752a84dbddd (diff)
downloadbcm5719-llvm-fa0dffcceedb408c42716a3877c4357371a0fb55.tar.gz
bcm5719-llvm-fa0dffcceedb408c42716a3877c4357371a0fb55.zip
teach instcombine to remove allocated buffers even if there are stores, memcpy/memmove/memset, and objectsize users.
This means we can do cheap DSE for heap memory. Nothing is done if the pointer excapes or has a load. The churn in the tests is mostly due to objectsize, since we want to make sure we don't delete the malloc call before evaluating the objectsize (otherwise it becomes -1/0) llvm-svn: 159876
Diffstat (limited to 'clang/test/Index/annotate-comments.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud