summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-10-15 20:49:47 +0000
committerBob Wilson <bob.wilson@apple.com>2009-10-15 20:49:47 +0000
commit2f9be5077478d58b0e7b16a5f5058296a69086c7 (patch)
tree6f507a3bccf269a05bbdc1e53a62ba1cb0841068 /clang/lib/Frontend/InitPreprocessor.cpp
parent146dcf2ab5257a014db339df447276b3c699f73a (diff)
downloadbcm5719-llvm-2f9be5077478d58b0e7b16a5f5058296a69086c7.tar.gz
bcm5719-llvm-2f9be5077478d58b0e7b16a5f5058296a69086c7.zip
Fix a potential performance problem in placing ARM constant pools.
In the case where there are no good places to put constants and we fall back upon inserting unconditional branches to make new blocks, allow all constant pool references in range of those blocks to put constants there, even if that means resetting the "high water marks" for those references. This will still terminate because you can't keep splitting blocks forever, and in the bad cases where we have to split blocks, it is important to avoid splitting more than necessary. llvm-svn: 84202
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud