[PATCH] D148269: [Pipeline] Don't limit ArgumentPromotion to -O3
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 17 05:18:43 PDT 2023
nikic added a comment.
In D148269#4272922 <https://reviews.llvm.org/D148269#4272922>, @yonghong-song wrote:
> The bpf backend calling convention is only allowing 5
> parameters in registers and does not allow pass arguments
> through stacks.
To clarify, is this a limitation of the BPF backend, or BPF itself? That is, is the backend just missing legalization support for converting too many arguments into pass by stack?
Generally I'd be fine with a TTI hook to control the maximum number of arguments though.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148269/new/
https://reviews.llvm.org/D148269
More information about the llvm-commits
mailing list