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 | 749ef5f420e3fca8fe582195462e629673a2b3fa (patch) | |
tree | 0b08cf4d379c89ce6128d55d65dd6685bf7549ed /libcxx/include/algorithm | |
parent | 34ef49dc74e68f9364c1e14195bd19f9232927fc (diff) | |
download | bcm5719-llvm-749ef5f420e3fca8fe582195462e629673a2b3fa.tar.gz bcm5719-llvm-749ef5f420e3fca8fe582195462e629673a2b3fa.zip |
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".
llvm-svn: 132185
Diffstat (limited to 'libcxx/include/algorithm')
0 files changed, 0 insertions, 0 deletions