summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaConsumer.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-03-12 11:19:33 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-03-12 11:19:33 +0000
commit595fda8466622a4820c280d9cb892fcea811dfcc (patch)
tree41bba7f47b1cc2d372b6d937815dc868115aa5df /clang/lib/Sema/SemaConsumer.cpp
parenta0796555e2e3643cadcc6dcbff74de92bc5726ea (diff)
downloadbcm5719-llvm-595fda8466622a4820c280d9cb892fcea811dfcc.tar.gz
bcm5719-llvm-595fda8466622a4820c280d9cb892fcea811dfcc.zip
When inlining a function and adding its inner call sites to the
candidate set for subsequent inlining, try to simplify the arguments to the inner call site now that inlining has been performed. The goal here is to propagate and fold constants through deeply nested call chains. Without doing this, we loose the inliner bonus that should be applied because the arguments don't match the exact pattern the cost estimator uses. Reviewed on IRC by Benjamin Kramer. llvm-svn: 152556
Diffstat (limited to 'clang/lib/Sema/SemaConsumer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud