diff options
author | Chris Lattner <sabre@nondot.org> | 2004-03-01 02:42:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-03-01 02:42:43 +0000 |
commit | 21585221b6338b9cc8b685e28138345e4e78bdee (patch) | |
tree | 67a1cfed51b8dbfbba20782e512e4a002d10e845 /lib/Target/SparcV9/ModuloScheduling/ModuloSchedGraph.h | |
parent | f2cab76a47d6caf459b27fccc849cd6a6145725a (diff) |
Handle passing constant integers to functions much more efficiently. Instead
of generating this code:
mov %EAX, 4
mov DWORD PTR [%ESP], %EAX
mov %AX, 123
movsx %EAX, %AX
mov DWORD PTR [%ESP + 4], %EAX
call Y
we now generate:
mov DWORD PTR [%ESP], 4
mov DWORD PTR [%ESP + 4], 123
call Y
Which hurts the eyes less. :)
Considering that register pressure around call sites is already high (with all
of the callee clobber registers n stuff), this may help a lot.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12028 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/ModuloScheduling/ModuloSchedGraph.h')
0 files changed, 0 insertions, 0 deletions