summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-10-15 04:59:28 +0000
committerChris Lattner <sabre@nondot.org>2009-10-15 04:59:28 +0000
commitc855b45b78a7f449494ff9bd0594b8fc383638f5 (patch)
treed3c08a083441179ac6d4e2f06b6696afc08be7a3 /clang/lib/Driver/Tools.cpp
parentdd1f68a10c1cf55c34fd0c1c9ef32a33e09c6ce1 (diff)
downloadbcm5719-llvm-c855b45b78a7f449494ff9bd0594b8fc383638f5.tar.gz
bcm5719-llvm-c855b45b78a7f449494ff9bd0594b8fc383638f5.zip
only try to fold constantexpr operands when the worklist is first populated,
don't bother every time going around the main worklist. This speeds up a release-asserts opt -std-compile-opts on 403.gcc by about 4% (1.5s). It seems to speed up the most expensive instances of instcombine by ~10%. llvm-svn: 84171
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud