LegalizeDAG.cpp doesn't need DenseMap.