diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-05-27 13:00:16 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-05-27 13:00:16 +0000 |
commit | 17c1bb5d55907cf007d100e4f3c5df4699099b9e (patch) | |
tree | de43b0ab9199ad7af46e10f41b5adacc1b4699c5 /lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | |
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
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp')
0 files changed, 0 insertions, 0 deletions