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

Elvis Wang via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 16 18:36:11 PDT 2025


================
@@ -2275,7 +2276,8 @@ void VPReductionEVLRecipe::execute(VPTransformState &State) {
   // Propagate the fast-math flags carried by the underlying instruction.
   IRBuilderBase::FastMathFlagGuard FMFGuard(Builder);
   const RecurrenceDescriptor &RdxDesc = getRecurrenceDescriptor();
-  Builder.setFastMathFlags(RdxDesc.getFastMathFlags());
+  if (hasFastMathFlags())
----------------
ElvisWang123 wrote:

Removed, thanks!

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


More information about the llvm-commits mailing list