[llvm] [KnownFPClass] Add neg_square and fma_neg_square (PR #227248)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 04:52:44 PDT 2026


================
@@ -287,6 +287,27 @@ struct KnownFPClass {
     return Known;
   }
 
+  // Special cases of fmul -x, x and fmul x, -x.
+  static KnownFPClass
+  neg_square(const KnownFPClass &Src,
----------------
arsenm wrote:

Can move this out of line 

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


More information about the llvm-commits mailing list