1 ; RUN: llvm-dis < %S/arm-intrinsics.bc | FileCheck %s
3 define void @f(i32* %p) {
4 ; CHECK: call i32 @llvm.arm.ldrex.p0(ptr elementtype(i32)
5 %a = call i32 @llvm.arm.ldrex.p0i32(i32* %p)
6 ; CHECK: call i32 @llvm.arm.strex.p0(i32 0, ptr elementtype(i32)
7 %c = call i32 @llvm.arm.strex.p0i32(i32 0, i32* %p)
9 ; CHECK: call i32 @llvm.arm.ldaex.p0(ptr elementtype(i32)
10 %a2 = call i32 @llvm.arm.ldaex.p0i32(i32* %p)
11 ; CHECK: call i32 @llvm.arm.stlex.p0(i32 0, ptr elementtype(i32)
12 %c2 = call i32 @llvm.arm.stlex.p0i32(i32 0, i32* %p)
16 declare i32 @llvm.arm.ldrex.p0i32(i32*)
17 declare i32 @llvm.arm.ldaex.p0i32(i32*)
18 declare i32 @llvm.arm.stlex.p0i32(i32, i32*)
19 declare i32 @llvm.arm.strex.p0i32(i32, i32*)