| commit | 7cf324772fdeff1db07e6aea8f8f57242f7b9945 | [log] [tgz] |
|---|---|---|
| author | Alexey Bataev <a.bataev@hotmail.com> | Fri Dec 04 10:53:15 2015 +0000 |
| committer | Alexey Bataev <a.bataev@hotmail.com> | Fri Dec 04 10:53:15 2015 +0000 |
| tree | 1515710008c9c116086791fb7717bfa8d3c2e124 | |
| parent | 1e577e66e9b50659ecee42b581f7f31a9d4d3d9b [diff] |
LEA code size optimization pass (Part 1): Remove redundant address recalculations, by Andrey Turetsky Add new x86 pass which replaces address calculations in load or store instructions with def register of existing LEA (must be in the same basic block), if the LEA calculates address that differs only by a displacement. Works only with -Os or -Oz. Differential Revision: http://reviews.llvm.org/D13294 llvm-svn: 254712