diff options
author | Tim Northover <tnorthover@apple.com> | 2013-09-04 11:57:13 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2013-09-04 11:57:13 +0000 |
commit | c0756c454c3bace142dc8aa7b01096bb2e18854a (patch) | |
tree | aa09362d7d66dd693c9a8971daf54ecee95ed753 /llvm/lib/Support/Unicode.cpp | |
parent | 1f13414d45cdbc2ca9f69b141738b42ab9feb4c8 (diff) | |
download | llvm-c0756c454c3bace142dc8aa7b01096bb2e18854a.zip llvm-c0756c454c3bace142dc8aa7b01096bb2e18854a.tar.gz llvm-c0756c454c3bace142dc8aa7b01096bb2e18854a.tar.bz2 |
InstCombine: look for masked compares with subset relation
Even in cases which aren't universally optimisable like "(A & B) != 0 && (A &
C) != 0", the masks can make one of the comparisons completely redundant. In
this case, since we've gone to the effort of spotting masked comparisons we
should combine them.
rdar://problem/7625728
llvm-svn: 189930
Diffstat (limited to 'llvm/lib/Support/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions