From 842091097e869b064460ad38acceb9390c16dd49 Mon Sep 17 00:00:00 2001 From: Jeffrey Yasskin Date: Mon, 11 Jan 2010 18:53:47 +0000 Subject: Update the -tailcallopt description to match djg's improvements to the calling convention. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93167 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CodeGenerator.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/docs/CodeGenerator.html b/docs/CodeGenerator.html index cc3a541e9c..4c87efaad0 100644 --- a/docs/CodeGenerator.html +++ b/docs/CodeGenerator.html @@ -1731,11 +1731,6 @@ define fastcc i32 @tailcaller(i32 %in1, i32 %in2) { (because one or more of above constraints are not met) to be followed by a readjustment of the stack. So performance might be worse in such cases.

-

On x86 and x86-64 one register is reserved for indirect tail calls (e.g via a - function pointer). So there is one less register for integer argument - passing. For x86 this means 2 registers (if inreg parameter - attribute is used) and for x86-64 this means 5 register are used.

-
-- cgit v1.2.3