update call
This commit is contained in:
parent
7d27ceb954
commit
d09e27d54a
@ -56,9 +56,10 @@ fn classify<'a, Ty, C>(cx: &C, arg: &mut ArgAbi<'a, Ty>, abi: ABI, is_ret: bool)
|
||||
return;
|
||||
}
|
||||
|
||||
// The AIX ABI expect byval for aggregates
|
||||
// See https://github.com/llvm/llvm-project/blob/main/clang/lib/CodeGen/Targets/PPC.cpp.
|
||||
if !is_ret && abi == AIX {
|
||||
arg.make_indirect_byval(None);
|
||||
arg.pass_by_stack_offset(None);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user