brintos

brintos / llvm-project-archived public Read only

0
0
Text · 618 B · 5ff2f24 Raw
19 lines · plain
1; REQUIRES: asserts2; RUN: llc -mtriple=amdgcn -O1 -mcpu=gfx90a -debug-only=machine-scheduler -filetype=null < %s 2>&1 | FileCheck --check-prefix=DEBUG %s3 4; DEBUG: Attempting to revert scheduling.5 6@G = global <32 x i8> splat (i8 1)7@G.1 = global <32 x i8> splat (i8 127)8 9define amdgpu_kernel void @gws_sema_v_offset0(i32 %val, <32 x i1>* %inp) {10  %LGV1 = load <32 x i8>, ptr @G.1, align 3211  %LGV = load <32 x i8>, ptr @G, align 3212  call void @llvm.amdgcn.ds.gws.sema.v(i32 0)13  %C = icmp ne <32 x i8> %LGV, %LGV114  store <32 x i1> %C, ptr %inp, align 415  ret void16}17 18declare void @llvm.amdgcn.ds.gws.sema.v(i32)19