diff options
author | Chris Lattner <sabre@nondot.org> | 2004-04-06 03:23:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-04-06 03:23:00 +0000 |
commit | 92900a65a362947010d22ff1998f722097044961 (patch) | |
tree | 17b583bcca0cde588abeab0e866d44a3b138ecf1 /docs/CommandGuide/llvm-as.html | |
parent | 33f7fa317b1c0bcc8c511b849d9e154d297ba9ac (diff) |
Improve code for passing constant longs as arguments to function calls.
For example, on this instruction:
call void %test(long 1234)
Instead of this:
mov %EAX, 1234
mov %ECX, 0
mov DWORD PTR [%ESP], %EAX
mov DWORD PTR [%ESP + 4], %ECX
call test
We now emit this:
mov DWORD PTR [%ESP], 1234
mov DWORD PTR [%ESP + 4], 0
call test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12686 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide/llvm-as.html')
0 files changed, 0 insertions, 0 deletions