[PATCH] D145322: [VPlan] Check if recipe is in ReplicateRegion for IfPredicateInstr (NFC)

Ayal Zaks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 8 01:37:32 PST 2023


Ayal accepted this revision.
Ayal added a comment.
This revision is now accepted and ready to land.

Part of moving predicated replicate recipes to either contain a mask operand or be embedded within a replicating region, changing their internal `IsPredicated` to represent the former but not the latter.



================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:2939
   if (IfPredicateInstr)
     PredicatedInstructions.push_back(Cloned);
 }
----------------
nit: once D140243 retires the original IR sinkScalarOperands(), PredicatedInstructions will no longer be needed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145322/new/

https://reviews.llvm.org/D145322



More information about the llvm-commits mailing list