Matt Arsenault | 7293f98 | 2016-01-28 20:53:35 +0000 | [diff] [blame^] | 1 | ; RUN: llc -march=amdgcn -mcpu=kaveri -mtriple=amdgcn-unknown-amdhsa -mattr=-fp32-denormals,+fp64-denormals < %s | FileCheck -check-prefix=FP64-DENORMAL -check-prefix=COMMON %s |
| 2 | |
| 3 | ; COMMON-LABEL: {{^}}test_kernel: |
| 4 | ; COMMON-DENORMAL: compute_pgm_rsrc1_float_mode = compute_pgm_rsrc1_float_mode = 192 |
| 5 | ; COMMON-DENORMAL: compute_pgm_rsrc1_dx10_clamp = 1 |
| 6 | define void @test_kernel(float addrspace(1)* %out0, double addrspace(1)* %out1) nounwind { |
| 7 | store float 0.0, float addrspace(1)* %out0 |
| 8 | store double 0.0, double addrspace(1)* %out1 |
| 9 | ret void |
| 10 | } |