1 ; RUN: llc -march=bpfel -filetype=obj -o - %s | llvm-objdump -d - | FileCheck %s
3 ; CHECK-LABEL: test_load_add_32
5 ; CHECK: lock *(u32 *)(r1 + 0) += r2
6 define void @test_load_add_32(i32* %p, i32 zeroext %v) {
8 atomicrmw add i32* %p, i32 %v seq_cst
12 ; CHECK-LABEL: test_load_add_64
14 ; CHECK: lock *(u64 *)(r1 + 0) += r2
15 define void @test_load_add_64(i64* %p, i64 zeroext %v) {
17 atomicrmw add i64* %p, i64 %v seq_cst