llvm-6502/lib
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
..
Analysis Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
AsmParser Explicitly pass ownership of the MemoryBuffer to AddNewSourceBuffer using std::unique_ptr 2014-08-21 20:44:56 +00:00
Bitcode Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
CodeGen Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
DebugInfo Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
ExecutionEngine [MCJIT][SystemZ] Use a simpler expression for indirect relocation offsets. 2014-08-25 23:33:48 +00:00
IR Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
IRReader Modernize the .ll parsing interface. 2014-08-19 16:58:54 +00:00
LineEditor
Linker Set comdats when lazily linking functions. 2014-08-15 20:17:08 +00:00
LTO Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
MC Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
Object Explicitly pass ownership of the MemoryBuffer to AddNewSourceBuffer using std::unique_ptr 2014-08-21 20:44:56 +00:00
Option Fix PR17239 by changing the semantics of the RemainingArgsClass Option kind 2014-08-22 19:29:17 +00:00
ProfileData llvm-cov: add code coverage tool that's based on coverage mapping format and clang's pgo. 2014-08-22 22:56:03 +00:00
Support Fix bug in llvm::sys::argumentsFitWithinSystemLimits(). 2014-08-25 22:53:21 +00:00
TableGen Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
Target [FastISel][AArch64] Refactor float zero materialization. NFCI. 2014-08-25 19:58:05 +00:00
Transforms ArgPromotion: Don't touch variadic functions 2014-08-25 23:58:48 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile