[llvm] [VPlan] Add VPWidenInduction recipe as common base class (NFC). (PR #120008)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 15 11:53:57 PST 2024
================
@@ -1755,13 +1756,12 @@ void VPWidenIntOrFpInductionRecipe::execute(VPTransformState &State) {
void VPWidenIntOrFpInductionRecipe::print(raw_ostream &O, const Twine &Indent,
VPSlotTracker &SlotTracker) const {
O << Indent << "WIDEN-INDUCTION";
- if (getTruncInst()) {
+ if (auto *TI = getTruncInst()) {
O << "\\l\"";
- O << " +\n" << Indent << "\" " << VPlanIngredient(IV) << "\\l\"";
- O << " +\n" << Indent << "\" ";
- getVPValue(0)->printAsOperand(O, SlotTracker);
----------------
ayalz wrote:
Commit separately along with its test change?
https://github.com/llvm/llvm-project/pull/120008
More information about the llvm-commits
mailing list