Fixed fastcall not applying inreg attributes to arguments like the C/C++ fastcall.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user