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
No known key found for this signature in database
GPG key ID: 02CE38DA47E9D691
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");
}