18 lines · plain
1; RUN: llc -global-isel=0 -march=amdgcn -mcpu=gfx1100 -stop-after=finalize-isel < %s | FileCheck --check-prefix=GCN %s2; RUN: llc -global-isel=1 -march=amdgcn -mcpu=gfx1100 -stop-after=finalize-isel < %s | FileCheck --check-prefix=GCN %s3 4; GCN-LABEL: name: init_wwm5; GCN: hasInitWholeWave: true6define void @init_wwm(ptr addrspace(1) inreg %p) {7entry:8 %entry_exec = call i1 @llvm.amdgcn.init.whole.wave()9 br i1 %entry_exec, label %bb.1, label %bb.210 11bb.1:12 store i32 1, ptr addrspace(1) %p13 br label %bb.214 15bb.2:16 ret void17}18