[LLVMdev] promotion of return value.

Rafael Espindola espindola at google.com
Thu Mar 12 10:49:28 PDT 2009


>> 1) The return value promotion will be removed from llvm backend and
>>   implemented in both front-ends (clang and llvm-gcc)
>>
>> 2) The promotions are only applied to the return value in the body
>>   of the function.
>>   Return value of function definition and declaration will not be
>> promoted

You might want to look at bug http://llvm.org/bugs/show_bug.cgi?id=3779.

If I understand what you are proposing, it is exactly the opposite of
what gcc does, which would be annoying for someone trying to link gcc
and llvm compiled code.

Cheers,
-- 
Rafael Avila de Espindola

Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047




More information about the llvm-dev mailing list