1 ; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s
3 ; CHECK-DAG: OpCapability Int8
4 ; CHECK-DAG: OpCapability Int16
5 ; CHECK-DAG: OpCapability Int64
7 ; CHECK-DAG: %[[#]] = OpTypeInt 8 0
8 ; CHECK-DAG: %[[#]] = OpTypeInt 16 0
9 ; CHECK-DAG: %[[#]] = OpTypeInt 64 0
11 @a = addrspace(1) global i8 0, align 1
12 @b = addrspace(1) global i16 0, align 2
13 @c = addrspace(1) global i64 0, align 8
15 define spir_kernel void @test_atomic_fn() {