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

via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 13 09:48:56 PDT 2024


yonghong-song wrote:

> But **after this patch**, the two numbers get the same result as before this patch. I don't see ld_imm64 becoming a mov instruction, as well as explicit zero extension for 'unsigned int'. Is that expected?

IIUC, we have the same result before and after this patch. So this patch didn't make things worse or better. So didn't really solve your problem for 'unsigned int'.

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


More information about the llvm-commits mailing list