summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/malloc.c
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2012-11-19 07:04:35 +0000
committerBob Wilson <bob.wilson@apple.com>2012-11-19 07:04:35 +0000
commita5b0dc888469fb60f5c8b683c6bbd670ce9e7462 (patch)
treee788c9464846681a4d568add57edff6d72694ed3 /clang/test/Analysis/malloc.c
parent266802d25640d58577d41b42fb0e134c0c76c341 (diff)
downloadbcm5719-llvm-a5b0dc888469fb60f5c8b683c6bbd670ce9e7462.tar.gz
bcm5719-llvm-a5b0dc888469fb60f5c8b683c6bbd670ce9e7462.zip
Clean up handling of always-inline functions in the inliner.
This patch moves the isInlineViable function from the InlineAlways pass into the InlineCostAnalyzer and then changes the InlineCost computation to use that simple check for always-inline functions. All the special-case checks for AlwaysInline in the CallAnalyzer can then go away. llvm-svn: 168300
Diffstat (limited to 'clang/test/Analysis/malloc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud