[PATCH] D122963: [X86] Extend the integer parameter if the function isn't local linked
Emilio Cobos Álvarez via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 18 13:44:45 PDT 2022
emilio added a comment.
In D122963#3457431 <https://reviews.llvm.org/D122963#3457431>, @rnk wrote:
>> gcc: both caller and callee do the zero/sign extension.
>
> The way I read that, GCC and Clang are ABI compatible with each other.
This is not right. GCC doesn't guarantee sign extension on the caller, and it doesn't always do it see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92821 and https://bugs.llvm.org/show_bug.cgi?id=44228 for example.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122963/new/
https://reviews.llvm.org/D122963
More information about the llvm-commits
mailing list