summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2017-09-01 09:07:05 +0000
committerClement Courbet <courbet@google.com>2017-09-01 09:07:05 +0000
commit9473c01e968bc4ecf5ea7c54ef0c84b687d365ea (patch)
tree9e04b30b7f8eb3e0cf2b85a997419c352005ccbc /llvm/lib/CodeGen/CodeGen.cpp
parentb16598d54fe050fcc576860d4b79a3d617b51dea (diff)
downloadbcm5719-llvm-9473c01e968bc4ecf5ea7c54ef0c84b687d365ea.tar.gz
bcm5719-llvm-9473c01e968bc4ecf5ea7c54ef0c84b687d365ea.zip
[MergeICmps] MergeICmps is a new optimization pass that turns chains of integer
comparisons into memcmp. Thanks to recent improvements in the LLVM codegen, the memcmp is typically inlined as a chain of efficient hardware comparisons. This typically benefits C++ member or nonmember operator==(). For now this is disabled by default until: - https://bugs.llvm.org/show_bug.cgi?id=33329 is complete - Benchmarks show that this is always useful. Differential Revision: https://reviews.llvm.org/D33987 llvm-svn: 312315
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud