[all-commits] [llvm/llvm-project] d0d143: [BPF] Fix assembly parsing errors for atomic_fetch...
eddyz87 via All-commits
all-commits at lists.llvm.org
Tue Apr 4 15:02:06 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d0d1431ab1c88dd2fb8c09ae28909da3fb5f3a57
https://github.com/llvm/llvm-project/commit/d0d1431ab1c88dd2fb8c09ae28909da3fb5f3a57
Author: Eduard Zingerman <eddyz87 at gmail.com>
Date: 2023-04-05 (Wed, 05 Apr 2023)
Changed paths:
M llvm/lib/Target/BPF/AsmParser/BPFAsmParser.cpp
A llvm/test/CodeGen/BPF/assembler-disassembler.s
Log Message:
-----------
[BPF] Fix assembly parsing errors for atomic_fetch_* instructions
Fixes BPF assembler parsing errors for the following instructions:
- atomic_fetch_add
- atomic_fetch_and
- atomic_fetch_xor
- atomic_fetch_or
- cmpxchg32_32
- cmpxchg_64
- xchg32_32
- xchg_64
Also add a test to verify that all instructions could be assembled and disassembled.
Differential Revision: https://reviews.llvm.org/D147421
More information about the All-commits
mailing list