summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/malloc-overflow.c
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2012-06-25 17:11:47 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2012-06-25 17:11:47 +0000
commit07594cba7c91a7bd498925041a73ea5eb7fd0ec2 (patch)
tree133323e55443ecd1941ae7faa1c2d56ac9ff4a32 /clang/test/Analysis/malloc-overflow.c
parent9ecc8761bceabd5b6392d3473c1bf181160cb2a3 (diff)
downloadbcm5719-llvm-07594cba7c91a7bd498925041a73ea5eb7fd0ec2.tar.gz
bcm5719-llvm-07594cba7c91a7bd498925041a73ea5eb7fd0ec2.zip
improve optimization of invoke instructions:
- simplifycfg: invoke undef/null -> unreachable - instcombine: invoke new -> invoke expect(0, 0) (an arbitrary NOOP intrinsic; only done if the allocated memory is unused, of course) - verifier: allow invoke of intrinsics (to make the previous step work) llvm-svn: 159146
Diffstat (limited to 'clang/test/Analysis/malloc-overflow.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud