[PATCH] D143865: [VPlan] Add predicate to VPReplicateRecipe, expand region later.
Ayal Zaks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 7 14:28:50 PST 2023
Ayal added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/VPlan.h:1513
+ IsUniform(IsUniform), IsPredicated(IsPredicated) {
+ assert((!IsPredicated || Mask) && "Mask must be set if IsPredicate is set");
+ if (IsPredicated)
----------------
Passing `IsPredicated` is now redundant - can be inferred by checking if given `Mask` is null?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143865/new/
https://reviews.llvm.org/D143865
More information about the llvm-commits
mailing list