diff options
author | Igor Laevsky <igmyrj@gmail.com> | 2015-08-17 16:37:04 +0000 |
---|---|---|
committer | Igor Laevsky <igmyrj@gmail.com> | 2015-08-17 16:37:04 +0000 |
commit | 06044f97d21dfdabe4f9599447005b08e13344c1 (patch) | |
tree | 99c0917520c0211847820a0dabde7104cca90767 /clang/lib/Lex/ModuleMap.cpp | |
parent | b322aa6f5310750c7bdfb018bd8dde489f48f297 (diff) | |
download | llvm-06044f97d21dfdabe4f9599447005b08e13344c1.zip llvm-06044f97d21dfdabe4f9599447005b08e13344c1.tar.gz llvm-06044f97d21dfdabe4f9599447005b08e13344c1.tar.bz2 |
[ScalarEvolutionExpander] Reuse findExistingExpansion during expansion cost calculation for division
Primary purpose of this change is to reuse existing code inside findExistingExpansion. However it introduces very slight semantic change - findExistingExpansion now looks into exiting blocks instead of a loop latches. Originally heuristic was based on the fact that we want to look at the loop exit conditions. And since all exiting latches will be listed in the ExitingBlocks, heuristic stays roughly the same.
Differential Revision: http://reviews.llvm.org/D12008
llvm-svn: 245227
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions