| Matt Arsenault | b94972c | 2017-08-05 07:50:18 +0000 | [diff] [blame] | 1 | ; RUN: llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -enable-ipra < %s | FileCheck -check-prefix=GCN %s |
| 2 | |||||
| 3 | ; Kernels are not called, so there is no call preserved mask. | ||||
| 4 | ; GCN-LABEL: {{^}}kernel: | ||||
| 5 | ; GCN: flat_store_dword | ||||
| 6 | define amdgpu_kernel void @kernel(i32 addrspace(1)* %out) #0 { | ||||
| 7 | entry: | ||||
| 8 | store i32 0, i32 addrspace(1)* %out | ||||
| 9 | ret void | ||||
| 10 | } | ||||
| 11 | |||||
| 12 | attributes #0 = { nounwind } | ||||