[PATCH] Fix sign extension for MIPS64 in makeLibCall function
strahinja.petrovic at rt-rk.com
Thu Mar 19 05:57:33 PDT 2015
makeLibCall function is patched, now every function argument and return value are sign extended if needed. In MIPS64 architecture all 32 bit arguments (int, unsigned int, float 32) must be sign extended. In makeLibCall function 32 bit arguments are converted to int32, so there is check if is any MIPS64 architecture, soft float ABI, and int 32 type then do sign extension. This patch is only for MIPS64 and doesn't affect other architectures.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8997 bytes
Desc: not available
More information about the llvm-commits