Konstantin Zhuravlyov | 1d65026 | 2016-09-06 20:22:28 +0000 | [diff] [blame] | 1 | ; RUN: llc -mtriple=amdgcn--amdhsa -mcpu=fiji -verify-machineinstrs < %s | FileCheck %s |
| 2 | |
| 3 | ; CHECK-LABEL: {{^}}max_18_sgprs: |
| 4 | ; CHECK: SGPRBlocks: 1 |
| 5 | ; CHECK: NumSGPRsForWavesPerEU: 13 |
| 6 | define void @max_18_sgprs(i32 addrspace(1)* %out1, |
| 7 | i32 addrspace(1)* %out2, |
| 8 | i32 addrspace(1)* %out3, |
| 9 | i32 addrspace(1)* %out4, |
| 10 | i32 %one, i32 %two, i32 %three, i32 %four) #0 { |
| 11 | store i32 %one, i32 addrspace(1)* %out1 |
| 12 | store i32 %two, i32 addrspace(1)* %out2 |
| 13 | store i32 %three, i32 addrspace(1)* %out3 |
| 14 | store i32 %four, i32 addrspace(1)* %out4 |
| 15 | ret void |
| 16 | } |
| 17 | attributes #0 = {"amdgpu-num-sgpr"="18"} |