Richard Guo <guofenglinux@gmail.com> writes: > Hmm, maybe we can additionally check if the PHV needs to be evaluated > above the join. If so it cannot be removed. Yeah, that seems to make sense, and it squares with the existing comment saying that PHVs used above the join can't be removed. Pushed that way.
Thanks for pushing it! I've closed the open item for it.