diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2016-01-11 11:52:29 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2016-01-11 11:52:29 +0000 |
commit | 28f0c5efec6fb7463b12e6a895f944d863bde56f (patch) | |
tree | 9274256c1a3237a4d03714599cd9d77e85ed8e41 /lldb/packages/Python/lldbsuite/test/lldbplatformutil.py | |
parent | e8a69abf405e35b7dd5b52c65d8754ac871481bd (diff) | |
download | bcm5719-llvm-28f0c5efec6fb7463b12e6a895f944d863bde56f.tar.gz bcm5719-llvm-28f0c5efec6fb7463b12e6a895f944d863bde56f.zip |
[X86] Reduce complexity of the LEA optimization pass, by Andrey Turetsky.
In the OptimizeLEA pass keep instructions' positions in the basic block saved and use them for calculation of the distance between two instructions instead of std::distance. This reduces complexity of the pass from O(n^3) to O(n^2) and thus the compile time.
Differential Revision: http://reviews.llvm.org/D15692
llvm-svn: 257328
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbplatformutil.py')
0 files changed, 0 insertions, 0 deletions