aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/switch-or.ll
Commit message (Collapse)AuthorAgeFilesLines
* Implement the "if (X == 6 || X == 4)" -> "if ((X|2) == 6)" optimization.Benjamin Kramer2010-11-221-0/+22
This currently only catches the most basic case, a two-case switch, but can be extended later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119964 91177308-0d34-0410-b5e6-96231b3b80d8