diff options
author | Andrey Turetskiy <andrey.turetskiy@gmail.com> | 2016-01-13 11:30:44 +0000 |
---|---|---|
committer | Andrey Turetskiy <andrey.turetskiy@gmail.com> | 2016-01-13 11:30:44 +0000 |
commit | 1ce2c9973fa78e53be887f0a53f6939d2d1f3bf9 (patch) | |
tree | 7657ca36019d95ba82e2ac9a44c9d3a877a6b68d /llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp | |
parent | 253dbf540540ed0019ea0d6d2e9b38411688a47c (diff) | |
download | bcm5719-llvm-1ce2c9973fa78e53be887f0a53f6939d2d1f3bf9.tar.gz bcm5719-llvm-1ce2c9973fa78e53be887f0a53f6939d2d1f3bf9.zip |
LEA code size optimization pass (Part 2): Remove redundant LEA instructions.
Make x86 OptimizeLEAs pass remove LEA instruction if there is another LEA
(in the same basic block) which calculates address differing only be a
displacement. Works only for -Oz.
Differential Revision: http://reviews.llvm.org/D13295
llvm-svn: 257589
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp')
0 files changed, 0 insertions, 0 deletions