[llvm] [VPlan] Add new VPInstruction ocpode for header mask. (PR #89603)
via llvm-commits
llvm-commits at lists.llvm.org
Mon May 6 03:45:45 PDT 2024
================
@@ -1306,6 +1253,10 @@ void VPlanTransforms::addActiveLaneMask(
/// ...
///
void VPlanTransforms::addExplicitVectorLength(VPlan &Plan) {
+ VPValue *HeaderMask = getHeaderMask(Plan);
+ if (!HeaderMask)
----------------
ayalz wrote:
If addExplicitVectorLength() is called header mask is expected to exist - assert instead of early exit?
https://github.com/llvm/llvm-project/pull/89603
More information about the llvm-commits
mailing list