Currently InstDeleter is going to crash when trying to delete phi node. I figured we might as well just restrict this transformation to avoid unnecessary crashes during continuous runs. I also restricted removal of couple of other instruction which InstDeleter will probably fail on.
Details
Details
Diff Detail
Diff Detail