[PATCH] D72184: [BPF] support atomic instructions
Alexei Starovoitov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 17 20:34:32 PST 2020
ast added a comment.
looks good. Before landing we need to agree on the full set of instructions that -mcpu=v4 will support.
atomic_fetch_or|xor|and are probably needed as instructions. The kernel JIT will generate x86 cmpxchg for them.
Because if llvm generates bpf cmpxchg insn then we'd need to teach the verifier to recognize infinite loops.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72184/new/
https://reviews.llvm.org/D72184
More information about the llvm-commits
mailing list