Skip to content

Commit 3e5d819

Browse files
Mel-Chenfhahn
andauthored
Update llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Avoid warning on release build Co-authored-by: Florian Hahn <[email protected]>
1 parent c6cf63f commit 3e5d819

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7699,6 +7699,7 @@ static void fixReductionScalarResumeWhenVectorizingEpilog(
76997699
m_SpecificICmp(ICmpInst::ICMP_EQ, m_Specific(OrigResumeV),
77007700
m_Specific(RdxDesc.getRecurrenceStartValue())));
77017701
assert(IsExpectedPattern && "Unexpected reduction resume pattern");
7702+
(void) IsExpectedPattern;
77027703
MainResumeValue = OrigResumeV;
77037704
}
77047705
PHINode *MainResumePhi = cast<PHINode>(MainResumeValue);

0 commit comments

Comments
 (0)