commit | d52c261cf801331bebda9711acd54c7c5377a6bd | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Feb 24 07:23:58 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Feb 24 07:23:58 2004 +0000 |
tree | cbe358e66f1c5bb46938005aa13d58e420f2e7ad | |
parent | 2189a760241550a4ca44bd4a9150372d77afb84f [diff] |
Implement SimplifyCFG/switch_switch_fold.ll This case occurs many times in various benchmarks, especially when combined with the previous patch. This allows it to get stuff like: if (X == 4 || X == 3) if (X == 5 || X == 8) and switch (X) { case 4: case 5: case 6: if (X == 4 || X == 5) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11797 91177308-0d34-0410-b5e6-96231b3b80d8