1; RUN: llc -global-isel=0 -march=amdgcn -mcpu=gfx1100 -stop-after=finalize-isel < %s | FileCheck --check-prefix=GCN %s 2; RUN: llc -global-isel=1 -march=amdgcn -mcpu=gfx1100 -stop-after=finalize-isel < %s | FileCheck --check-prefix=GCN %s 3 4; GCN-LABEL: name: init_wwm 5; GCN: hasInitWholeWave: true 6define 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.2 10 11bb.1: 12 store i32 1, ptr addrspace(1) %p 13 br label %bb.2 14 15bb.2: 16 ret void 17} 18