[LLVMdev] RFC: Tail call optimization X86

Dale Johannesen dalej at apple.com
Fri Oct 5 11:45:33 PDT 2007


On Oct 5, 2007, at 11:46 AM, Chris Lattner wrote:

> On Fri, 5 Oct 2007, Arnold Schwaighofer wrote:
>>> to me like llvm-gcc honors that.  Certainly it should.
>>
>> This would imply one fastcc abi (callee pops args on return) to rule
>> them all?
>> That is only if fastcall translates to llvm fastcc  of course.
>
> fastcall != fastcc.  fastcall is a well defined convention on x86  
> that has
> very specific ABI requirements.  fastcc, on the other hand, is an LLVM
> thing, and LLVM is allowed to "innovate" on the abi where it wants to.
>
> There is no requirement for LLVM to handle fastcc and fastcall the  
> same.

I see.  Could we please change its name then?  The .ll file uses
x86_fastcallcc for fastcall, for an additional level of confusion.




More information about the llvm-dev mailing list