diff options
author | Chris Lattner <sabre@nondot.org> | 2008-09-21 21:44:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-09-21 21:44:29 +0000 |
commit | 743922ea75ba650b9e87a3627f0de8d1e0869d00 (patch) | |
tree | 63990a1350151ae27fda0e6247e82556cf08feab /include/llvm/CodeGen/MachineOperand.h | |
parent | 3bdf5fe71ad2d48d81d013b16181766bde295f58 (diff) |
Fold immediates into X86 shifts with fast isel. This generates:
sarl $3, %ecx
instead of:
movl $3, %ecx
sarl %cl, %edx
This shrinks fast isel 176.gcc by about 2000 instructions (.3%)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56413 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineOperand.h')
0 files changed, 0 insertions, 0 deletions