Thanks. It still needs a testcase though. You may be able to re-use the calling convention test at test/CodeGen/Mips/cconv/return.ll if support for loads is good enough. http://reviews.llvm.org/D6765 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/