@@ -347,7 +347,7 @@ declare float @_Z4pownfi(float, i32)
347
347
348
348
; GCN-LABEL: {{^}}define amdgpu_kernel void @test_pow
349
349
; GCN-POSTLINK: call fast float @_Z3powff(float %tmp, float 1.013000e+03)
350
- ; GCN-PRELINK: %__fabs = tail call fast float @_Z4fabsf (float %tmp)
350
+ ; GCN-PRELINK: %__fabs = tail call fast float @llvm.fabs.f32 (float %tmp)
351
351
; GCN-PRELINK: %__log2 = tail call fast float @_Z4log2f(float %__fabs)
352
352
; GCN-PRELINK: %__ylogx = fmul fast float %__log2, 1.013000e+03
353
353
; GCN-PRELINK: %__exp2 = tail call fast float @_Z4exp2f(float %__ylogx)
@@ -387,7 +387,7 @@ entry:
387
387
; GCN-LABEL: {{^}}define amdgpu_kernel void @test_pown
388
388
; GCN-POSTLINK: call fast float @_Z4pownfi(float %tmp, i32 %conv)
389
389
; GCN-PRELINK: %conv = fptosi float %tmp1 to i32
390
- ; GCN-PRELINK: %__fabs = tail call fast float @_Z4fabsf (float %tmp)
390
+ ; GCN-PRELINK: %__fabs = tail call fast float @llvm.fabs.f32 (float %tmp)
391
391
; GCN-PRELINK: %__log2 = tail call fast float @_Z4log2f(float %__fabs)
392
392
; GCN-PRELINK: %pownI2F = sitofp i32 %conv to float
393
393
; GCN-PRELINK: %__ylogx = fmul fast float %__log2, %pownI2F
@@ -784,8 +784,7 @@ entry:
784
784
ret void
785
785
}
786
786
787
- ; GCN-PRELINK: declare float @_Z4fabsf(float) local_unnamed_addr #[[$NOUNWIND_READONLY:[0-9]+]]
788
- ; GCN-PRELINK: declare float @_Z4cbrtf(float) local_unnamed_addr #[[$NOUNWIND_READONLY]]
787
+ ; GCN-PRELINK: declare float @_Z4cbrtf(float) local_unnamed_addr #[[$NOUNWIND_READONLY:[0-9]+]]
789
788
; GCN-PRELINK: declare float @_Z11native_sqrtf(float) local_unnamed_addr #[[$NOUNWIND_READONLY]]
790
789
791
790
; GCN-PRELINK: attributes #[[$NOUNWIND]] = { nounwind }
0 commit comments