diff options
Diffstat (limited to 'test/CodeGen/R600/fcopysign.f32.ll')
-rw-r--r-- | test/CodeGen/R600/fcopysign.f32.ll | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/test/CodeGen/R600/fcopysign.f32.ll b/test/CodeGen/R600/fcopysign.f32.ll index 7b4425b..897830e 100644 --- a/test/CodeGen/R600/fcopysign.f32.ll +++ b/test/CodeGen/R600/fcopysign.f32.ll @@ -7,15 +7,15 @@ declare <2 x float> @llvm.copysign.v2f32(<2 x float>, <2 x float>) nounwind read declare <4 x float> @llvm.copysign.v4f32(<4 x float>, <4 x float>) nounwind readnone ; Try to identify arg based on higher address. -; FUNC-LABEL: @test_copysign_f32: -; SI: S_LOAD_DWORD [[SSIGN:s[0-9]+]], {{.*}} 0xc -; SI: V_MOV_B32_e32 [[VSIGN:v[0-9]+]], [[SSIGN]] -; SI-DAG: S_LOAD_DWORD [[SMAG:s[0-9]+]], {{.*}} 0xb -; SI-DAG: V_MOV_B32_e32 [[VMAG:v[0-9]+]], [[SMAG]] -; SI-DAG: S_MOV_B32 [[SCONST:s[0-9]+]], 0x7fffffff -; SI: V_BFI_B32 [[RESULT:v[0-9]+]], [[SCONST]], [[VMAG]], [[VSIGN]] -; SI: BUFFER_STORE_DWORD [[RESULT]], -; SI: S_ENDPGM +; FUNC-LABEL: {{^}}test_copysign_f32: +; SI: s_load_dword [[SMAG:s[0-9]+]], {{.*}} 0xb +; SI: s_load_dword [[SSIGN:s[0-9]+]], {{.*}} 0xc +; SI-DAG: v_mov_b32_e32 [[VSIGN:v[0-9]+]], [[SSIGN]] +; SI-DAG: v_mov_b32_e32 [[VMAG:v[0-9]+]], [[SMAG]] +; SI-DAG: s_mov_b32 [[SCONST:s[0-9]+]], 0x7fffffff +; SI: v_bfi_b32 [[RESULT:v[0-9]+]], [[SCONST]], [[VMAG]], [[VSIGN]] +; SI: buffer_store_dword [[RESULT]], +; SI: s_endpgm ; EG: BFI_INT define void @test_copysign_f32(float addrspace(1)* %out, float %mag, float %sign) nounwind { @@ -24,8 +24,8 @@ define void @test_copysign_f32(float addrspace(1)* %out, float %mag, float %sign ret void } -; FUNC-LABEL: @test_copysign_v2f32: -; SI: S_ENDPGM +; FUNC-LABEL: {{^}}test_copysign_v2f32: +; SI: s_endpgm ; EG: BFI_INT ; EG: BFI_INT @@ -35,8 +35,8 @@ define void @test_copysign_v2f32(<2 x float> addrspace(1)* %out, <2 x float> %ma ret void } -; FUNC-LABEL: @test_copysign_v4f32: -; SI: S_ENDPGM +; FUNC-LABEL: {{^}}test_copysign_v4f32: +; SI: s_endpgm ; EG: BFI_INT ; EG: BFI_INT |