When SimplifySetCC was moved to the DAGCombiner, it was never removed from
authorChris Lattner <sabre@nondot.org>
Sat, 14 Oct 2006 00:41:01 +0000 (00:41 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 14 Oct 2006 00:41:01 +0000 (00:41 +0000)
commit51dabfb28375be7bc5848806ae31cd068b6133f8
tree3eec37d95eaa6fd302dc5f3090dac712a3454e19
parent8f16eb98ed21a642d7f75c76f4b1acf0f199ee6d
When SimplifySetCC was moved to the DAGCombiner, it was never removed from
SelectionDAG and it has since bitrotted.  Remove the copy from SelectionDAG.
Next, remove the constant folding piece of DAGCombiner::SimplifySetCC into
a new FoldSetCC method which can be used by getNode() and SimplifySetCC.

This fixes obscure bugs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30952 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp