[llvm] [VPlan] Change parent of VPReductionRecipe to VPRecipeWithIRFlags. NFC (PR #130881)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 17 04:13:12 PDT 2025
================
@@ -2369,8 +2372,7 @@ void VPReductionEVLRecipe::print(raw_ostream &O, const Twine &Indent,
O << " = ";
getChainOp()->printAsOperand(O, SlotTracker);
O << " +";
- if (isa<FPMathOperator>(getUnderlyingInstr()))
----------------
lukel97 wrote:
That makes sense. I think @ElvisWang123 had already done something similar in a previous version of this PR like
```c++
if (isa<FPMathOperator>(I))
setFastMathFlags(R.getFastMathFlags());
```
in the constructor. Should that be done as a part of this PR or in a follow up?
https://github.com/llvm/llvm-project/pull/130881
More information about the llvm-commits
mailing list