[x86][AArch64] adjust fast-math-flags in tests; NFC

This goes with the proposal in D86403.
This commit is contained in:
Sanjay Patel 2020-08-24 18:05:05 -04:00
parent a842950b62
commit a74dc598fb
2 changed files with 2 additions and 2 deletions

View File

@ -493,7 +493,7 @@ define <2 x double> @sqrt_fdiv_common_operand_vec(<2 x double> %x) nounwind {
; CHECK-NEXT: fmul v0.2d, v0.2d, v1.2d
; CHECK-NEXT: ret
%sqrt = call <2 x double> @llvm.sqrt.v2f64(<2 x double> %x)
%r = fdiv arcp reassoc <2 x double> %x, %sqrt
%r = fdiv nsz arcp reassoc <2 x double> %x, %sqrt
ret <2 x double> %r
}

View File

@ -930,7 +930,7 @@ define <2 x double> @sqrt_fdiv_common_operand_vec(<2 x double> %x) nounwind {
; AVX-NEXT: vdivpd %xmm1, %xmm0, %xmm0
; AVX-NEXT: retq
%sqrt = call <2 x double> @llvm.sqrt.v2f64(<2 x double> %x)
%r = fdiv arcp reassoc <2 x double> %x, %sqrt
%r = fdiv nsz arcp reassoc <2 x double> %x, %sqrt
ret <2 x double> %r
}