We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01215c5 commit b67808cCopy full SHA for b67808c
lib/Backend/GlobOptIntBounds.cpp
@@ -803,7 +803,7 @@ void GlobOpt::TrackIntSpecializedAddSubConstant(
803
804
// Ensure that the sym is live in the landing pad, and that its value has not changed in an unknown way yet
805
Value *const landingPadValue = currentBlock->loop->landingPad->globOptData.FindValue(sym);
806
- if(!landingPadValue || srcValueNumber != landingPadValue->GetValueNumber())
+ if(!landingPadValue || srcValueNumber != landingPadValue->GetValueNumber() || currentBlock->loop->symsDefInLoop->Test(sym->m_id))
807
{
808
updateInductionVariableValueNumber = false;
809
break;
0 commit comments