diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-11-22 09:45:38 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-11-22 09:45:38 +0000 |
commit | ce750f03322fe29ced3aca0718424fe173f22298 (patch) | |
tree | 19b6190877ec7040a869a2fc085811d619e9f1f3 /lib/MC/MCStreamer.cpp | |
parent | b05099bf42d54838f0648569d4ae1a98dfa7da7b (diff) |
Implement the "if (X == 6 || X == 4)" -> "if ((X|2) == 6)" optimization.
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
Diffstat (limited to 'lib/MC/MCStreamer.cpp')
0 files changed, 0 insertions, 0 deletions