[clang] [llvm] [BPF] Add support for may_goto insn (PR #85358)

2024-03-15 Thread via cfe-commits
https://github.com/yonghong-song closed https://github.com/llvm/llvm-project/pull/85358 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [BPF] Add support for may_goto insn (PR #85358)

2024-03-15 Thread via cfe-commits
https://github.com/eddyz87 approved this pull request. https://github.com/llvm/llvm-project/pull/85358 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [BPF] Add support for may_goto insn (PR #85358)

2024-03-14 Thread via cfe-commits
https://github.com/4ast approved this pull request. lgtm https://github.com/llvm/llvm-project/pull/85358 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [BPF] Add support for may_goto insn (PR #85358)

2024-03-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (yonghong-song) Changes Alexei added may_goto insn in [1]. The asm syntax for may_goto looks like may_goto

[clang] [llvm] [BPF] Add support for may_goto insn (PR #85358)

2024-03-14 Thread via cfe-commits
yonghong-song wrote: cc @anakryiko @jemarch https://github.com/llvm/llvm-project/pull/85358 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [BPF] Add support for may_goto insn (PR #85358)

2024-03-14 Thread via cfe-commits
https://github.com/yonghong-song created https://github.com/llvm/llvm-project/pull/85358 Alexei added may_goto insn in [1]. The asm syntax for may_goto looks like may_goto The instruction represents a conditional branch but the condition is implicit. Later in bpf kernel verifier, the 'may_g