[llvm] [InstCombine] Fold `fcmp pred sqrt(X), 0.0 -> fcmp pred2 X, 0.0` (PR #101626)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 2 01:06:34 PDT 2024


================
@@ -2117,3 +2117,175 @@ define <8 x i1> @fcmp_ogt_fsub_const_vec_denormal_preserve-sign(<8 x float> %x,
   %cmp = fcmp ogt <8 x float> %fs, zeroinitializer
   ret <8 x i1> %cmp
 }
+
----------------
arsenm wrote:

Should still test with -0 , canonical or not 

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


More information about the llvm-commits mailing list