Fixed fastcall not applying inreg attributes to arguments like the C/C++ fastcall.

This commit is contained in:
Ivan Molodetskikh
2016-12-21 21:42:10 +03:00
parent 1b38776c1f
commit c461cdfdf6
5 changed files with 69 additions and 4 deletions

View File

@@ -150,6 +150,8 @@ from_rust(LLVMRustAttribute kind) {
return Attribute::UWTable;
case ZExt:
return Attribute::ZExt;
case InReg:
return Attribute::InReg;
default:
llvm_unreachable("bad AttributeKind");
}