[SCEV][NFC] Simplify check with CI->isZero() exit condition
Replace check with
if ((ExitIfTrue && CI->isZero()) || (!ExitIfTrue && CI->isOne()))
with equivalent and simpler version
if (ExitIfTrue == CI->isZero())
parent
46a1dd47
Please register or sign in to comment