[clang] [llvm] [BPF] Support Stack Arguments (PR #189060)

via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 10 13:19:32 PDT 2026


yonghong-song wrote:

> > we can enforce r12 based stores like below:
> > 
> > * r12 based stores must be before a call in the same basic block
> > * there should not be any r12 based loads between the first stores and the call.
> >   The above is exactly what the llvm generates.
> 
> we cannot do it. There are too many restrictions already. All current restrictions need to be removed. I guess it's fine just doing the max across all and reserver in the prologue for now.

Okay, I will keep the current JIT implementation for now.


https://github.com/llvm/llvm-project/pull/189060


More information about the llvm-commits mailing list