summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InlineCost.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-03-15 00:41:48 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-03-15 00:41:48 +0000
commit79aa513231c48b31732a5354cd01a278a79656e1 (patch)
tree43a4b6f6ce8296193c5f19684e840a5949636163 /llvm/lib/Analysis/InlineCost.cpp
parent3904590ba8c8eb68699696c8545caaaa9144854a (diff)
downloadbcm5719-llvm-79aa513231c48b31732a5354cd01a278a79656e1.tar.gz
bcm5719-llvm-79aa513231c48b31732a5354cd01a278a79656e1.zip
Minor optimization to constant evaluation: don't bother computing expr source
locations for diagnostics we're not going to emit, and don't track the subobject designator outside C++11 (since we're not going to use it anyway). This seems to give about a 0.5% speedup on 403.gcc/combine.c, but the results were sufficiently noisy that I can't reject the null hypothesis. llvm-svn: 152761
Diffstat (limited to 'llvm/lib/Analysis/InlineCost.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud