[llvm] relaxed simd fma (PR #147487)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 8 02:12:51 PDT 2025


================
@@ -475,6 +475,7 @@ struct SDNodeFlags {
   bool hasAllowReassociation() const { return Flags & AllowReassociation; }
   bool hasNoFPExcept() const { return Flags & NoFPExcept; }
   bool hasUnpredictable() const { return Flags & Unpredictable; }
+  bool hasFastMath() const { return Flags & FastMathFlags; }
----------------
arsenm wrote:

Should not add this. This does not depend on all the flags, and you should only depend on the exact set of flags required for a transform 

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


More information about the llvm-commits mailing list