diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-02-23 00:13:58 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-02-23 00:13:58 +0000 |
commit | 224ec39cab5298cfd196c0b5d2ac4825f8e2ab12 (patch) | |
tree | 635104ae92cd410d5670ad16c81b7e2c727d6db3 /lib/CodeGen/RegAllocLinearScan.cpp | |
parent | 4ba9cd53bae1d989bf1f620e301eae0c7b497791 (diff) |
X86 codegen tweak to use lea in another case:
Suppose base == %eax and it has multiple uses, then instead of
movl %eax, %ecx
addl $8, %ecx
use
leal 8(%eax), %ecx.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26323 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocLinearScan.cpp')
0 files changed, 0 insertions, 0 deletions