[PATCH] D122963: [X86] Extend the integer parameter if the function isn't local linked
LiuChen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 7 03:05:08 PDT 2022
LiuChen3 added a comment.
In D122963#3435619 <https://reviews.llvm.org/D122963#3435619>, @lebedev.ri wrote:
> Still not okay with it. The fix is to fix whatever is emitting the attribute, not completely ignore it.
I don't quite understand what you mean.
If there is no such attribute, it should not do any extension itself. Regardless of whether this function is only a local linked. The optimization here is only for parameters with zeroext/signext attributes.
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