[llvm-commits] PATCH: llvm-gcc option to emit "va_arg" instruction
David Meyer
pdox at google.com
Wed Oct 13 05:07:36 PDT 2010
Chris,
I've attached an alternative version of the patch which does not include the
user-visible flag.
Instead, to activate the emission of the va_arg instruction, you can modify
TARGET_GIMPLIFY_VA_ARG_EXPR in the target configuration and recompile.
For example, in gcc/config/i386/i386.c:
#define TARGET_GIMPLIFY_VA_ARG_EXPR ix86_gimplify_va_arg
Can be changed to:
#define TARGET_GIMPLIFY_VA_ARG_EXPR llvm_gimplify_va_arg_expr
To activate va_arg for x86 and x86-64.
- David M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101013/8fae6408/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-gcc-va-arg-3.patch
Type: application/octet-stream
Size: 4570 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101013/8fae6408/attachment.obj>
More information about the llvm-commits
mailing list