visitSwitchCase knows how to insert conditional branches well. Change
authorChris Lattner <sabre@nondot.org>
Tue, 24 Oct 2006 18:07:37 +0000 (18:07 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 24 Oct 2006 18:07:37 +0000 (18:07 +0000)
commit2452595927a19a84ab20f012f1e2414a18f65ffb
tree2a0aaa0bdd578ec99bf0354ef0ec2990ccdbe510
parent57ab65972e09be54da6461e483664ebf34afa1ee
visitSwitchCase knows how to insert conditional branches well.  Change
visitBr to just call visitSwitchCase, eliminating duplicate logic.

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