OSDN Git Service

SimplifyCFG: Use ComputeMaskedBits to prune dead cases from switch instructions.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 14 May 2011 15:57:25 +0000 (15:57 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 14 May 2011 15:57:25 +0000 (15:57 +0000)
commit10fcfb53fdc77061841e815e8b4cd62b48d5767d
treebb0f56999b037326d614eb9167d1e96be6f18c10
parent67f071e69795dca1151cdb8d57d222b6f041d748
SimplifyCFG: Use ComputeMaskedBits to prune dead cases from switch instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131345 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp
test/Transforms/SimplifyCFG/switch-masked-bits.ll [new file with mode: 0644]