Tom Stellard | 96301d2 | 2015-04-28 17:37:03 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=amdgcn -mcpu=verde -verify-machineinstrs -mattr=dumpcode -filetype=obj | FileCheck --check-prefix=SI --check-prefix=FUNC %s |
| 2 | ; RUN: llc < %s -march=amdgcn -mcpu=tonga -verify-machineinstrs -mattr=dumpcode -filetype=obj | FileCheck --check-prefix=SI --check-prefix=FUNC %s |
| 3 | |
| 4 | ; Test for a crash in the custom assembly dump code. |
| 5 | |
| 6 | ; SI: s_endpgm |
| 7 | define void @test(i32 addrspace(1)* %out) { |
| 8 | store i32 0, i32 addrspace(1)* %out |
| 9 | ret void |
| 10 | } |