diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-12-10 01:10:13 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-12-10 01:10:13 +0000 |
commit | 036e2bd07acf2dab2a46382627c48f84943dac4b (patch) | |
tree | 0c6690960d4ea3587f50712248257c049e6675b4 /clang/lib/Basic/SourceManager.cpp | |
parent | 6c8d29f7d1576a32d07cd6742087a8648a07f594 (diff) | |
download | llvm-036e2bd07acf2dab2a46382627c48f84943dac4b.zip llvm-036e2bd07acf2dab2a46382627c48f84943dac4b.tar.gz llvm-036e2bd07acf2dab2a46382627c48f84943dac4b.tar.bz2 |
Add a fast path to the constant evaluator for integer literals. This speeds up
compilation of some translation units of SPEC's 445.gobmk by ~4%, and does not
seem to cause a measurable slowdown in other cases.
llvm-svn: 146306
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions