[PATCH v1 0/3] LoongArch: BPF: clean up for build_insn() paths

From: Tiezhu Yang

Date: Sat Jul 11 2026 - 06:10:34 EST


Based on 7.2-rc1, tested on a Loongson-3A6000 physical machine.

Remove redundant or dead code, and eliminate the unnecessary runtime
check.

Tiezhu Yang (3):
LoongArch: BPF: Remove redundant zext jumping in move_imm()
LoongArch: BPF: Remove dead move_imm() call in BPF_NEG path
LoongArch: BPF: Split unconditional branch JA paths statically

arch/loongarch/net/bpf_jit.c | 10 +++++-----
arch/loongarch/net/bpf_jit.h | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)

--
2.42.0