[llvm-commits] X86 FastISel: Emit immediate call arguments locally to save stack size when compiling with -O0
Rafael Ávila de Espíndola
rafael.espindola at gmail.com
Mon Aug 1 21:00:53 PDT 2011
On 11-08-01 5:13 PM, Ivan Krasin wrote:
> Hi llvm team,
>
> this patch fixes the FastISel stack allocation strategy issue described here:
> http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-July/041452.html
> The solution is to emit immediate int arguments just before the call
> (instead of spilling them on stack at the beginning of the function)
> Please, take a look (the patch is attached the message and is also
> available here:
> http://codereview.chromium.org/7539010/)
>
Cool,
This patch reduces the stack used by the testcase in llvm.org/pr10075
from 0x3729 to 0x35e8.
> Thanks,
> Ivan Krasin
>
Cheers,
Rafael
More information about the llvm-commits
mailing list