Add a check to avoid allowing V->replaceAllUsesWith(V)