Skip to content

Mark AArch64/Darwin as requiring sign-extension of arguments

Ben Gamari requested to merge wip/T20735 into master

Apple's AArch64 ABI requires that the caller sign-extend small integer arguments. Set platformCConvNeedsExtension to reflect this fact and adjust the AArch64 NCG to sign-extend as appropriate.

Fixes #21773 (closed). Fixes #20735 (closed).

Edited by Ben Gamari

Merge request reports