From 20514d18a3876590b1536cb7cbfa3d275ae620ac Mon Sep 17 00:00:00 2001
From: Chris Lattner
LLVM 1.5 adds supports for custom and -target-specific calling conventions. Traditionally, the LLVM code -generators match the native C calling conventions for a target. This is -important for compatibility, but is not very flexible. This release allows -custom calling conventions to be established for functions, and defines three -target-independent conventions (C call, fast call, and cold call) which may be -supported by code generators. When possible, the LLVM optimizer promotes C +
LLVM 1.5 adds supports for per-function +calling conventions. Traditionally, the LLVM code generators match the +native C calling conventions for a target. This is important for compatibility, +but is not very flexible. This release allows custom calling conventions to be +established for functions, and defines three target-independent conventions (C call, fast call, and cold call) which may +be supported by code generators. When possible, the LLVM optimizer promotes C functions to use the "fastcc" convention, allowing the use of more efficient calling sequences (e.g., parameters are passed in registers in the X86 target).
@@ -129,7 +131,7 @@ fastcall on X86). +Proper Tail CallsThe release now includes support for and llvm-gcc now implements the GCC
__builtin_popcount, __builtin_ctz, and
__builtin_clz builtins.
-
Code Generator Bugs:
Bugs in the C/C++ front-end: