[LLVMdev] promotion of return value.
Rafael Espindola
espindola at google.com
Tue Mar 31 12:04:50 PDT 2009
> Did you see this Ali?
> http://nondot.org/sabre/LLVMNotes/ExtendedIntegerResults.txt
Would you mind adding it to SVN? Would make it easier
to comment on. In particular, it would be nice to add
examples for X86 (caller extends. High bits undefined
in the callee) and PPC (callee extends).
And I still don't understand why in
short y();
int z() {
return ((int)y() << 16) >> 16;
}
we can remove the sign extension on x86 (I really think we cannot).
> -Chris
Thanks,
--
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