Do not assert, when case range split metric is zero and JTs are not allowed: just...
authorAnton Korobeynikov <asl@math.spbu.ru>
Wed, 9 May 2007 20:07:08 +0000 (20:07 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Wed, 9 May 2007 20:07:08 +0000 (20:07 +0000)
commit7294b58ecdb430d1473d0a9220a234e62a710d54
treee8fb3a928ae6d7204f55e0ccb24fd7d8eab7a5ec
parentab5063bed928feeb9d524bca3dc14a1cbceaf1af
Do not assert, when case range split metric is zero and JTs are not allowed: just emit binary tree in this case. This
fixes PR1403.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36959 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
test/CodeGen/SPARC/2007-05-09-JumpTables.ll [new file with mode: 0644]