[llvm-commits] PATCH: llvm-gcc option to emit "va_arg" instruction

David Meyer pdox at google.com
Mon Oct 11 07:28:05 PDT 2010


Hello LLVM,

Attached is a patch to add the option "-fuse-llvm-va-arg" to llvm-gcc. The
default behavior remains unchanged.

When this option is passed, invocations of __builtin_va_arg always emit the
LLVM va_arg instruction instead of being lowered to target-specific
operations.

Visual diff is available at: http://codereview.chromium.org/3694002/show

The code in this patch was originally provided by Alan Donovan of Google,
with contributions from Rafael Espindola and myself.

Thank you,
 David M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101011/6f83281d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-gcc-va-arg.patch
Type: application/octet-stream
Size: 5623 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101011/6f83281d/attachment.obj>


More information about the llvm-commits mailing list