commit | 17c1bb5d55907cf007d100e4f3c5df4699099b9e | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Fri May 27 13:00:16 2011 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Fri May 27 13:00:16 2011 +0000 |
tree | de43b0ab9199ad7af46e10f41b5adacc1b4699c5 | |
parent | f031d0977f8b03288ed32ff14f71c79e81914f39 [diff] |
InstCombine: Make switch folding with equality compares more aggressive by trying instsimplify on the arm where we know the compared value. Stuff like "x == y ? y : x&y" now folds into "x&y". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132185 91177308-0d34-0410-b5e6-96231b3b80d8