[X86] Fix collectLeaves for adds used by phi that forms loop
When add has additional users, we should indentify whether add's user is phi that forms loop rather than root's. Reviewed By: LuoYuanke Differential Revision: https://reviews.llvm.org/D129169
Loading
Please sign in to comment