13 lines · plain
1; RUN: llc < %s -mtriple=amdgcn -mcpu=verde -mattr=dumpcode -filetype=obj | FileCheck --check-prefix=SI %s2; RUN: llc < %s -mtriple=amdgcn -mcpu=tonga -mattr=dumpcode -filetype=obj | FileCheck --check-prefix=SI %s3 4; Test for a crash in the custom assembly dump code.5 6; SI: test:7; SI: BB0_0:8; SI: s_endpgm9define amdgpu_kernel void @test(ptr addrspace(1) %out) {10 store i32 0, ptr addrspace(1) %out11 ret void12}13