[IndVars] Replace PHIs if loop exits on 1st iteration
This is a part of D108910. We replace all loop PHIs with values coming from the loop preheader if we proved that backedge is never taken. Patch by Dmitry Makogon! Differential Revision: https://reviews.llvm.org/D109596 Reviewed By: lebedev.ri
Loading
Please register or sign in to comment