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 | f1280cf7444019f6be5e9a4f057b1217b909c3c6 (patch) | |
tree | fac7acc10876bd677b359394494d6b37d5fbca09 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | |
parent | ae9d9f4d3f408f2b366381d8e2fd7d471fb76822 (diff) | |
download | bcm5719-llvm-f1280cf7444019f6be5e9a4f057b1217b909c3c6.tar.gz bcm5719-llvm-f1280cf7444019f6be5e9a4f057b1217b909c3c6.zip |
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%)
llvm-svn: 56413
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp')
0 files changed, 0 insertions, 0 deletions