Update the incoming value of phi nodes in header of post-loop correctly. Differential Revision: https://reviews.llvm.org/D110060
It fixes https://bugs.llvm.org/show_bug.cgi?id=51700 Differential Revision: