Add (some) encodings for x86_push/pop instructions. Simple uses actually pass the legalizer now.
This commit is contained in:
committed by
Jakob Stoklund Olesen
parent
cdf70ccb77
commit
b8275f5713
@@ -82,6 +82,8 @@ fn legalize_entry_params(func: &mut Function, entry: Ebb) {
|
||||
pos.func.dfg.attach_ebb_param(entry, arg);
|
||||
match abi_type.purpose {
|
||||
ArgumentPurpose::Normal => {}
|
||||
ArgumentPurpose::FramePointer => {}
|
||||
ArgumentPurpose::CalleeSaved => {}
|
||||
ArgumentPurpose::StructReturn => {
|
||||
assert!(!has_sret, "Multiple sret arguments found");
|
||||
has_sret = true;
|
||||
|
||||
Reference in New Issue
Block a user