diff options
Diffstat (limited to 'test/CodeGen/AMDGPU/debug.ll')
-rw-r--r-- | test/CodeGen/AMDGPU/debug.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/AMDGPU/debug.ll b/test/CodeGen/AMDGPU/debug.ll new file mode 100644 index 000000000000..a2e0e878b740 --- /dev/null +++ b/test/CodeGen/AMDGPU/debug.ll @@ -0,0 +1,10 @@ +; RUN: llc < %s -march=amdgcn -mcpu=verde -verify-machineinstrs -mattr=dumpcode -filetype=obj | FileCheck --check-prefix=SI --check-prefix=FUNC %s +; RUN: llc < %s -march=amdgcn -mcpu=tonga -verify-machineinstrs -mattr=dumpcode -filetype=obj | FileCheck --check-prefix=SI --check-prefix=FUNC %s + +; Test for a crash in the custom assembly dump code. + +; SI: s_endpgm +define void @test(i32 addrspace(1)* %out) { + store i32 0, i32 addrspace(1)* %out + ret void +} |