[llvm] [VPlan] Change parent of VPReductionRecipe to VPRecipeWithIRFlags. NFC (PR #130881)

Elvis Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 14 08:43:48 PDT 2025


================
@@ -788,6 +790,12 @@ class VPRecipeWithIRFlags : public VPSingleDefRecipe {
     }
   }
 
+  /// Set fast-math flags for this recipe.
+  void setFastMathFlags(FastMathFlags FMFs) {
+    assert(OpType == OperationType::FPMathOp);
----------------
ElvisWang123 wrote:

Added, thanks!

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


More information about the llvm-commits mailing list