diff options
author | Clement Courbet <courbet@google.com> | 2017-09-01 09:07:05 +0000 |
---|---|---|
committer | Clement Courbet <courbet@google.com> | 2017-09-01 09:07:05 +0000 |
commit | 9473c01e968bc4ecf5ea7c54ef0c84b687d365ea (patch) | |
tree | 9e04b30b7f8eb3e0cf2b85a997419c352005ccbc /llvm/lib/CodeGen/CodeGen.cpp | |
parent | b16598d54fe050fcc576860d4b79a3d617b51dea (diff) | |
download | bcm5719-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