Switch lowering: fix APInt overflow causing infinite loop / OOM
authorHans Wennborg <hans@hanshq.net>
Fri, 24 Apr 2015 16:53:55 +0000 (16:53 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 24 Apr 2015 16:53:55 +0000 (16:53 +0000)
commitec679a8b3bbf5ac0f9dd71df3fbc6d6985af03a9
tree1c7ef87c197ffa11b8377b27db53a73e3e451dd1
parentcbdd0dc88a1fcf6baa494b823cb2559c01578bff
Switch lowering: fix APInt overflow causing infinite loop / OOM

llvm-svn: 235729
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/test/CodeGen/X86/switch.ll