Fix switch lowering to order cases in zext order, which is how we emit the
authorChris Lattner <sabre@nondot.org>
Tue, 13 Feb 2007 01:05:56 +0000 (01:05 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 13 Feb 2007 01:05:56 +0000 (01:05 +0000)
commit818d42f1e81db75300223fedb75227c17ec0ef83
tree6937b29d02b674e7b9ae8a3b254a2671de7dd735
parentb76f903fd3a1be9d7a1770e9abe1568de9e2eee3
Fix switch lowering to order cases in zext order, which is how we emit the
comparisons.  This fixes an infinite loop on CodeGen/Generic/switch-lower.ll
and PR1197

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