llvm/lib/Transforms
Reid Kleckner 9d1f8b1b21 ArgPromotion: Don't touch variadic functions
Adding, removing, or changing non-pack parameters can change the ABI
classification of pack parameters. Clang and other frontends encode the
classification in the IR of the call site, but the callee side
determines it dynamically based on the number of registers consumed so
far. Changing the prototype affects the number of registers consumed
would break such code.

Dead argument elimination performs a similar task and already has a
similar check to avoid this problem.

Patch by Thomas Jablin!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216421 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-25 23:58:48 +00:00
..
Hello [CMake] Add LLVM_LINK_COMPONENTS to loadable modules, LLVMHello and BugpointPasses, on Win32. 2014-07-13 13:36:48 +00:00
InstCombine InstCombine: Properly optimize or'ing bittests together 2014-08-24 09:10:57 +00:00
Instrumentation Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
IPO ArgPromotion: Don't touch variadic functions 2014-08-25 23:58:48 +00:00
ObjCARC Use range based for loops to avoid needing to re-mention SmallPtrSet size. 2014-08-24 23:23:06 +00:00
Scalar Use range based for loops to avoid needing to re-mention SmallPtrSet size. 2014-08-24 23:23:06 +00:00
Utils Remove dangling initializers in GlobalDCE 2014-08-25 17:51:14 +00:00
Vectorize Allow vectorization of division by uniform power of 2. 2014-08-25 04:56:54 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile