File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2798,11 +2798,12 @@ void VPlanTransforms::adjustFFLoadEarlyExitForPoisonSafety(VPlan &Plan) {
27982798
27992799 VPValue *VPAnyOf = nullptr ;
28002800 VPValue *VecOp = nullptr ;
2801- assert (
2801+ [[maybe_unused]] bool IsExitingOnAnyOfOr =
28022802 match (LatchExitingBr,
28032803 m_BranchOnCond (m_BinaryOr (m_VPValue (VPAnyOf), m_VPValue ()))) &&
2804- match (VPAnyOf, m_VPInstruction<VPInstruction::AnyOf>(m_VPValue (VecOp))) &&
2805- " unexpected exiting sequence in early exit loop" );
2804+ match (VPAnyOf, m_VPInstruction<VPInstruction::AnyOf>(m_VPValue (VecOp)));
2805+ assert (IsExitingOnAnyOfOr &&
2806+ " unexpected exiting sequence in early exit loop" );
28062807
28072808 VPValue *OpVPEVLI32 = LastFFLoad->getVPValue (1 );
28082809 VPValue *Mask = LastFFLoad->getMask ();
You can’t perform that action at this time.
0 commit comments