1 ; RUN: llc -mtriple=amdgcn -mcpu=gfx908 -O3 < %s | FileCheck %s
3 ; Test should not result in build failure
4 ; CHECK-LABEL: shouldNotReApply
6 define amdgpu_kernel void @shouldNotReApply() {
8 tail call void @llvm.amdgcn.sched.barrier(i32 0)
9 store <4 x i32> zeroinitializer, ptr addrspace(3) null, align 2147483648
10 tail call void @llvm.amdgcn.sched.group.barrier(i32 0, i32 0, i32 0)
11 tail call void @llvm.amdgcn.sched.barrier(i32 0)
12 store i32 0, ptr addrspace(5) null, align 2147483648
13 tail call void @llvm.amdgcn.sched.group.barrier(i32 0, i32 0, i32 0)