1. Sort switch cases using APInt safe comparison.
authorReid Spencer <rspencer@reidspencer.com>
Fri, 2 Mar 2007 23:05:28 +0000 (23:05 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 2 Mar 2007 23:05:28 +0000 (23:05 +0000)
commitf1bed4c720135b81ee46bd514cf3329abbf0c1a3
tree996b80b1f4d3a124f426f9c96642aaeb62313f02
parent4cf735b47e417f0ff4d0ce4e8b2d136c1fcb55b9
1. Sort switch cases using APInt safe comparison.
2. Make sure debug output of APInt values is safe for all bit widths.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34855 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/LowerSwitch.cpp