[llvm] [SelectionDAGBuilder] Remove NoNaNsFPMath uses (PR #169904)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 2 10:04:21 PST 2025


================
@@ -443,7 +443,7 @@ define <vscale x 8 x i1> @fcmp_one_vf_nxv8bf16_nonans(<vscale x 8 x bfloat> %va,
 ; CHECK-NEXT:    ret
   %head = insertelement <vscale x 8 x bfloat> poison, bfloat %b, i32 0
   %splat = shufflevector <vscale x 8 x bfloat> %head, <vscale x 8 x bfloat> poison, <vscale x 8 x i32> zeroinitializer
-  %vc = fcmp one <vscale x 8 x bfloat> %va, %splat
+  %vc = fcmp nnan one <vscale x 8 x bfloat> %va, %splat
----------------
dtcxzyw wrote:

Done in https://github.com/llvm/llvm-project/pull/170325

https://github.com/llvm/llvm-project/pull/169904


More information about the llvm-commits mailing list