[llvm-commits] [llvm-gcc-4.2] r86892 - /llvm-gcc-4.2/trunk/gcc/llvm-abi.h

Rafael Espindola espindola at google.com
Thu Dec 3 06:16:35 PST 2009


> Well, you could always access it as an i24 :)

That is an interesting point. Do you know if the arm backend would do
the right thing in both cases?

void @f(i24)

Should be expanded and passed in a register.

void @g(i32, i32, i32, i32, i24)

Should not be expanded and put in memory.

Using i32 for the first case has the advantage that the expansion is
explicit in the IL, but using i24 in both might be easier to implement
:-)

> Ciao,
>
> Duncan.
>

Cheers,
-- 
Rafael Ávila de Espíndola




More information about the llvm-commits mailing list