[llvm] [DAGCombiner] Remove all `UnsafeFPMath` references (PR #146295)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 20 04:51:22 PDT 2025
================
@@ -1672,9 +1672,9 @@ define <4 x float> @test_v4f32_fma_x_c1_fmul_x_c2(<4 x float> %x) #0 {
; AVX512: # %bb.0:
; AVX512-NEXT: vmulps {{\.?LCPI[0-9]+_[0-9]+}}(%rip){1to4}, %xmm0, %xmm0
; AVX512-NEXT: retq
- %m0 = fmul <4 x float> %x, <float 1.0, float 2.0, float 3.0, float 4.0>
- %m1 = fmul <4 x float> %x, <float 4.0, float 3.0, float 2.0, float 1.0>
- %a = fadd <4 x float> %m0, %m1
+ %m0 = fmul contract reassoc <4 x float> %x, <float 1.0, float 2.0, float 3.0, float 4.0>
----------------
RKSimon wrote:
remove the #0 attribute from the all these tests?
https://github.com/llvm/llvm-project/pull/146295
More information about the llvm-commits
mailing list