[all-commits] [llvm/llvm-project] 38f3db: use default intrinsic attrs for BPF packet loads
Bryce Kahle via All-commits
all-commits at lists.llvm.org
Mon Aug 26 00:12:04 PDT 2024
Branch: refs/heads/release/19.x
Home: https://github.com/llvm/llvm-project
Commit: 38f3dbefab0a4965abad99aa23eced96d5d8dc16
https://github.com/llvm/llvm-project/commit/38f3dbefab0a4965abad99aa23eced96d5d8dc16
Author: Bryce Kahle <bryce.kahle at datadoghq.com>
Date: 2024-08-26 (Mon, 26 Aug 2024)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsBPF.td
M llvm/test/CodeGen/BPF/sockex2.ll
A llvm/test/Transforms/DCE/intrinsics-bpf.ll
Log Message:
-----------
use default intrinsic attrs for BPF packet loads
The BPF packet load intrinsics lost attribute WillReturn due to 0b20c30. The attribute loss causes excessive bitshifting, resulting in previously working programs failing the BPF verifier due to instruction/complexity limits.
cherry picked only the BPF changes from 99a10f1
Signed-off-by: Bryce Kahle <bryce.kahle at datadoghq.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list