[LLVMdev] another problem with function arguments aligment

Chris Lattner sabre at nondot.org
Mon Feb 26 11:53:39 PST 2007


On Mon, 26 Feb 2007, Lauro Ramos Venancio wrote:
> The problem is: llvm-gcc generates the same bytecode for both functions:
>
> declare void @f(i32, i64)
> declare void @g(i32, i64)
>
> I can't differ an i64 argument from a struct argument.

Oops.  You can fix this by changing llvm-gcc: gcc/llvm-abi.h

Grep for instances of Int64Ty there.  I can help answer any q's you might 
have.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list