[clang] [llvm] [Clang][BPF] Allow sign/zero extension for call parameters with int/uint types (PR #84874)

via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 12 17:51:54 PDT 2024


yonghong-song wrote:

For this one:
> A kernel function will expect the uint to be sign-extended, not zero-extended.
I suspect riscv bpf jit will do sign-extension. @pulehui can confirm.

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


More information about the cfe-commits mailing list