[llvm-commits] [llvm] r55807 - in /llvm/trunk: lib/Target/X86/X86CallingConv.td lib/Target/X86/X86ISelLowering.cpp test/CodeGen/X86/2007-08-13-SpillerReuse.ll test/CodeGen/X86/2008-02-22-ReMatBug.ll test/CodeGen/X86/coalescer-commute3.ll test/CodeGen/X86/combine-lds.ll test/CodeGen/X86/fastcc.ll

Chris Lattner clattner at apple.com
Mon Sep 22 08:43:40 PDT 2008


On Sep 21, 2008, at 11:30 PM, Evan Cheng wrote:

>  Secondly, it's not clear to me why the integer registers have to be  
> marked inreg to be passed in registers (only EAX, EDX, what's the  
> 3rd). Arnold, any ideas?

I thought that this was how the normal x86-32 calling conv worked:   
Integer values are passed on the stack unless -mregparm (or attribute)  
is used, which tags the arguments with 'inreg'

-Chris



More information about the llvm-commits mailing list