HomePhabricator

[NFC] Promote willNotOverflow() / getStrengthenedNoWrapFlagsFromBinOp() from…

Authored by lebedev.ri on Tue, Jun 1, 1:33 AM.

Description

[NFC] Promote willNotOverflow() / getStrengthenedNoWrapFlagsFromBinOp() from IndVars into SCEV proper

We might want to use it when creating SCEV proper in createSCEV(),
now that we don't forgetValue() in SimplifyIndvar::strengthenOverflowingOperation(),
which might have caused us to loose some optimization potential.

Details

Committed
lebedev.riSat, Jun 5, 2:17 AM
Parents
rG92ce29ee45b2: [LoopUnroll] Regenerate test checks (NFC)
Branches
Unknown
Tags
Unknown