[llvm-commits] X86 FastISel: Emit immediate call arguments locally to save stack size when compiling with -O0

Ivan Krasin krasin at chromium.org
Mon Aug 1 14:13:19 PDT 2011


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/)

Thanks,
Ivan Krasin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FastISel-krasin-v2.patch
Type: text/x-patch
Size: 3799 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110801/147a5183/attachment.bin>


More information about the llvm-commits mailing list