summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/TGParser.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2010-12-13 01:44:01 +0000
committerChandler Carruth <chandlerc@gmail.com>2010-12-13 01:44:01 +0000
commit00a383363859ac9f20732110379dcf2ab584c0bc (patch)
treeccfc208915e9fa3277c3d7cd7f82ce6d237d92c9 /llvm/utils/TableGen/TGParser.cpp
parent7cb7867d7ad122d7451406222a73b30eb083024b (diff)
downloadbcm5719-llvm-00a383363859ac9f20732110379dcf2ab584c0bc.tar.gz
bcm5719-llvm-00a383363859ac9f20732110379dcf2ab584c0bc.zip
Reduce the number of builtin operator overload candidates added in certain
cases. First, omit all builtin overloads when no non-record type is in the set of candidate types. Second, avoid arithmetic type overloads for non-arithmetic or enumeral types (counting vector types as arithmetic due to Clang extensions). When heavily using constructs such as STL's '<<' based stream logging, this can have a significant impact. One logging-heavy test case's compile time dropped by 10% with this. Self-host shows 1-2% improvement in compile time, but that's likely in the noise. llvm-svn: 121665
Diffstat (limited to 'llvm/utils/TableGen/TGParser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud