1; RUN: llc -march=bpfel -filetype=obj -o - %s | llvm-objdump -d - | FileCheck %s 2 3; CHECK-LABEL: test_load_add_32 4; CHECK: c3 21 5; CHECK: lock *(u32 *)(r1 + 0) += r2 6define void @test_load_add_32(i32* %p, i32 zeroext %v) { 7entry: 8 atomicrmw add i32* %p, i32 %v seq_cst 9 ret void 10} 11 12; CHECK-LABEL: test_load_add_64 13; CHECK: db 21 14; CHECK: lock *(u64 *)(r1 + 0) += r2 15define void @test_load_add_64(i64* %p, i64 zeroext %v) { 16entry: 17 atomicrmw add i64* %p, i64 %v seq_cst 18 ret void 19} 20