summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocLocal.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2009-01-29 18:09:31 +0000
committerSteve Naroff <snaroff@apple.com>2009-01-29 18:09:31 +0000
commitd25adc945e6a019372df8a83af93d2b1a668c781 (patch)
treed55511f93696ba69ac15e90ca05438c9047b8911 /llvm/lib/CodeGen/RegAllocLocal.cpp
parent1cb12da1689ed6e9a43a611c302655d71b74ccdf (diff)
downloadbcm5719-llvm-d25adc945e6a019372df8a83af93d2b1a668c781.tar.gz
bcm5719-llvm-d25adc945e6a019372df8a83af93d2b1a668c781.zip
Hack Sema::LookupDeclInScope() to avoid calling Sema::LookupName() when parsing C/ObjC.
This results in a 1.7% improvement for "Cocoa.h". If we can figure out how to return a "Decl *", rather than a Sema::LookupResult(), we will likely bump the speedup from 1.7%->2.5%. I verified this, however couldn't get it to work without breaking a fair number of C++ test cases. Will discuss with Doug offline. llvm-svn: 63320
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLocal.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud