[llvm] [SystemZ] Fix signext attribute handling in XPLINK64 calling convention (PR #206833)
Ulrich Weigand via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 2 00:55:16 PDT 2026
uweigand wrote:
> > I'm not sure I understand this change. Are you saying that the de-facto ABI as implemented by other compilers on z/OS does not actually guarantee that incoming parameters are extended?
>
> Sadly yes. The current XPLINK specification in the LE Vendor Interfaces document mandates only that scalar _return values_ are extended to 64 bit. However, this does not apply to arguments (a oversight in my opinion), and we found several interoperability issues.
I see. But then it does look like the correct implementation would be to simply *not* mark such parameters as `signext` or `zeroext` in the front end.
https://github.com/llvm/llvm-project/pull/206833
More information about the llvm-commits
mailing list