SuccessChanges

Summary

  1. [IndVars] LCSSA Phi users should not prevent widening (details)
Commit faf183874cb6f434815e2b1c0b59cd452219f89e by mkazantsev
[IndVars] LCSSA Phi users should not prevent widening

When widening an IndVar that has LCSSA Phi users outside
the loop, we can safely widen it as usual and then truncate
the result outside the loop without hurting the performance.

Differential Revision: https://reviews.llvm.org/D91593
Reviewed By: skatkov
The file was modifiedllvm/test/Transforms/IndVarSimplify/widen-loop-comp.ll
The file was modifiedllvm/lib/Transforms/Utils/SimplifyIndVar.cpp