brintos

brintos / llvm-project-archived public Read only

0
0
Text · 763 B · 4fa7a7a Raw
18 lines · plain
1; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s2 3define void @test_fence_proxy_tensormap_generic_acquire(ptr addrspace(0) %addr) {4  ; CHECK: immarg value 127 out of range [128, 129)5  call void @llvm.nvvm.fence.proxy.tensormap_generic.acquire.cta(ptr addrspace(0) %addr, i32 127);6 7  ; CHECK: immarg value 129 out of range [128, 129)8  call void @llvm.nvvm.fence.proxy.tensormap_generic.acquire.cluster(ptr addrspace(0) %addr, i32 129);9 10  ; CHECK: immarg value 127 out of range [128, 129)11  call void @llvm.nvvm.fence.proxy.tensormap_generic.acquire.gpu(ptr addrspace(0) %addr, i32 127);12 13  ; CHECK: immarg value 129 out of range [128, 129)14  call void @llvm.nvvm.fence.proxy.tensormap_generic.acquire.sys(ptr addrspace(0) %addr, i32 129);15 16  ret void17}18