[PATCH] Don't Promote Args for Variadic Functions

Thomas Jablin tjablin at gmail.com
Mon Aug 25 13:28:31 PDT 2014


Hi joerg,

Don't promote arguments for variadic functions. It can cause problems when arguments switch from being passed in on the stack to being passed in registers and the stack size is already baked-in.

http://reviews.llvm.org/D5055

Files:
  lib/Transforms/IPO/ArgumentPromotion.cpp
  test/Transforms/ArgumentPromotion/variadic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5055.12917.patch
Type: text/x-patch
Size: 1826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140825/f16ecf90/attachment.bin>


More information about the llvm-commits mailing list