Fixed fastcall not applying inreg attributes to arguments like the C/C++ fastcall.
This commit is contained in:
parent
1b38776c1f
commit
c461cdfdf6
5 changed files with 69 additions and 4 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue