[PATCH] [X86] Allow more call sequences to use push for argument passing
Michael Kuperstein
michael.m.kuperstein at intel.com
Wed Jun 17 04:17:51 PDT 2015
Hi rnk,
This allows more call sequences to use pushes instead of movs when optimizing for size.
In particular, calling conventions that pass some parameters in registers are now supported.
(This still needs more testing to make sure it doesn't break anything. Reid, if you have anything specific in mind that you think may go wrong, let me know.)
http://reviews.llvm.org/D10500
Files:
lib/Target/X86/X86CallFrameOptimization.cpp
test/CodeGen/X86/movtopush.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10500.27825.patch
Type: text/x-patch
Size: 12164 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150617/22bd8c28/attachment.bin>
More information about the llvm-commits
mailing list