As discussed in https://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20200824/824235.html even though it seems worthwhile doing so in InstSimplify, we really can't do that there, because the other PHI wouldn't be def-reachable from the original PHI.
9.6 KiB
9.6 KiB