The simplifycfg pass should be able to turn stuff like:
authorChris Lattner <sabre@nondot.org>
Tue, 24 Feb 2004 05:34:44 +0000 (05:34 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 24 Feb 2004 05:34:44 +0000 (05:34 +0000)
commitd1eaebef493ce086f7791be24a3eaacf355d1cdc
tree12feb2014a6346948a29787c3f82a39a71aed533
parentc88c17b0f689443be31499d7bfb147651e5ac9a6
The simplifycfg pass should be able to turn stuff like:
  if (X == 4 || X == 7)
and
  if (X != 4 && X != 7)

into switch instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11791 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/SimplifyCFG/switch_create.ll [new file with mode: 0644]